Forum Discussion
TanyaYatskovska
Alumni
12 years agoHi Madhu,
There's no way to create controls on user forms dynamically. However, we have a corresponding suggestion in our DB - I've added your vote to it.
As for now, I can suggest that you use another approach: add, say, a list box to the form manually. When executing the script, you can populate the control via the Items property. Also, you can add an additional column and set its value to True or False for each item. Read the "TcxListBox Object" article for details.
There's no way to create controls on user forms dynamically. However, we have a corresponding suggestion in our DB - I've added your vote to it.
As for now, I can suggest that you use another approach: add, say, a list box to the form manually. When executing the script, you can populate the control via the Items property. Also, you can add an additional column and set its value to True or False for each item. Read the "TcxListBox Object" article for details.