Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8716477
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T06:05:08+00:00 2026-06-13T06:05:08+00:00

I would like to create a control class that would allow the user to

  • 0

I would like to create a control class that would allow the user to type text like a normal text box. However, it should have a “mail merge field” functionality that would allow the user to insert a field from a list. This field would then be identified at a later stage for population. E.g.

Your order was processed by sales_person and will be sent on date.

In the above example, the user typed “Your order was processed by ” and selected sales_person from a list of fields. This list would be another control, such as a list box, so this control class would have something like an insertField method that could be called.

At a later stage, that field would be populated so it would have to be identifiable in the code. Also, the user should be able to save and retrieve this phrase with its fields.

This UI is very similar to the building of a mail merge document in MS Word.

Can anyone offer advice and/or resources to achieve this. I’d rather build my own control than use a third party, but I need guidance.

Thanks very much.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T06:05:10+00:00Added an answer on June 13, 2026 at 6:05 am

    Try to use System.Windows.Forms.RichTextBox, it will allow you to markup the placeholders by using the Find() function, and then change SelectionFont, SelectionColor or SelectionBackColor

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to create a simple control that inherits from HeaderedContentControl, and has
I would like to create a button control that has a Path element as
Im looking to create a control that would look like comic baloon. In WPF
I have created a repeat control that list some documents. I would like to
I would like to create a c++ type that mimic the build-in type exactly.
I would like to create a control that extends the BoundField that's used within
I would like to create a custom WPF control that inherits from comboBox. So
I would like to create a Webview where I have total control over the
I have a database that I would like class files generated from, and also
I would like to create a custom control in order to display a pie

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.