Dynamic dialog window
Forums
Hi Brian,
I want create a New Dialog Box. But it will be populated the controls during the execution of the routine. The no.of controls will be depends on the based on the data.
Is it posible to create a dynamic UI from script.
Thanks In Advance
Jiyaji
Hi jiyajip,
Hi jiyajip, you should consider use DlgVisible statement and place controls overlapping one another, and inside your script you determine the controls visibility. For example, when you click button A it will show combo box + eddit box and hide other controls. Then when you click button B it will hide combo box + edit box and show list box + button C and hide other controls. It should be provide visual effects as if you have dynamic dialog.
Firdaus Sentosa
Hi Jiyaji,
Hi Jiyaji,
Unfortunately that is no easy way to do this. I could see a way of doing it but that would mean a script creating a new script each time and adding the code.
If there is a maximum number of controls that would appear you could create the maximum and then there is an option to hide them or grey them out, then based on the data you would enable only the controls you need. Would something like that work for you?
Brian