Is there a way to enable and disable dialog controls during script execution?? It can be done when designing a dialog in qarun but can you access the control properties at runtime?
There is 1 workaround for this u can use two dialogs one with the control enabled and other with control disable and use dialog based on runtime requirement
as u would not be able to access any of the QARUN properties during runtime
Rajesh Kumar Chengalpathy
Give the following a try:
with the dialog setup as:
Dialog "dialog name", arrayofcontrols
use the following lines to enable/disable controls:
arrayofcontrols[ dialogControl, "Enabled" ] = 0
arrayofcontrols[ dialogControl, "Enabled" ] = 1
what i'm looking for is to be able to set that sort of property while a script is running. Can you capture an action on a text box or check box the same way you can with buttons i.e. use a switch case statement on "Push Button Clicked"??
Works great Coxy