'smart' objects inside Textbox?

CanadianRene

Newcomer
Joined
Feb 17, 2012
Messages
1
The attachment shows a screenshot of something I want to do. I want the user to be able to insert smart 'components' in the textbox selected from the drop-down menu. The program will then replace these with proper values.

My first instinct says to create custom controls that inherit from labels. These will be my smart components. Then a custom textbox control that accepts these labels as input? not sure if I am on the right track and not sure how a textbox can accept a control as input?
 

Attachments

The standard textbox does not support this feature. You might be able to do something like this with a rich text editor.

Are the "components" supposed to be controls (e.g. clickable button) or placeholders for predefined values (in which case, why not use some sort of %tags%)?
 
Back
Top