In my XML file, I have created a Dialog, that does hold a Checkbox. The
Checkbox has been given the ID MyCheckbox.
In the VBS code, I have a variable:
Dim Showbox
which is a Boolean, and hence should be set to True, if the MyCheckbox is
checked, otherwise set to False.
In the
Function DialogEventHandler
I have the following code. But, I don't know, which term to use, to check for
the checbox state. In the sample, I have marked it with the term WhatToPutHere.
Please, can anyone enlighten me a bit here? I tried to look in the Developer's
Reference, but apparently did not look the right place, as I did find no
answer, and therefore hoped for some assistance from the community. Maybe I am
doing something wrong in my code, but I just don't know what. :)
Case "MyCheckbox"
If DEvent = WhatToPutHere? Then
Showbox = True
DialogEventHandler = True
Exit Function
Else
Showbox = False
DialogEventHandler = True
Exit Function
End If 'MyCheckbox.