I was wondering how to return the initial value of a toggle box in code.
I was trying something like this. But i seem to be using the wrong attribute for a toggle box.
I was trying something like this. But i seem to be using the wrong attribute for a toggle box.
Code:
DEFINE VARIABLE ch-T AS WIDGET-HANDLE NO-UNDO.
ASSIGN ch-T = t1:HANDLE.
MESSAGE ch-T:INITIAL
VIEW-AS ALERT-BOX INFO BUTTONS OK.