All,
In a Dynamic Dialog situation, I want to disable an EditBox until a RadioButton is selected. The Dialog box by default has the EditBox set to disable
In DialogControlState, @csDisabled is listed, but I need the opposit - to enable.
I cannot see another function to use Nor the opposite of @csDisabled
Please help
It's been a while, but from memory, it's a little odd:
you either Add the disabled style or Remove the disabled style
DialogControlState(DH,"bigbutton",@dcsAddStyle,@csDisabled) ; make disabled
DialogControlState(DH,"bigbutton",@dcsRemStyle,@csDisabled) ; make enabled
The online documentation:
https://docs.winbatch.com/mergedProjects/WindowsInterfaceLanguage/html/WILAK_D__043.htm (https://docs.winbatch.com/mergedProjects/WindowsInterfaceLanguage/html/WILAK_D__043.htm)
It's also available in the Consolidated WIL Help file which can be found on systems with WinBatch installed.