Guest
Hello All,
I have a problem with hiCreateToggleField.
In my form, i have only one toggle button. if button == t, i would
like to do something, else ...
but i don't know why, when i extract the value of my togglebutton, i
always have the same result: value = t whatever i press or not.
Here the definition of my button
RO = hiCreateToggleField(
?name 'RO
?prompt ""
?choices '((Read "Read Only?"))
?value list(t)
?defValue list(t)
);; end Toggle
and i extract my value like this:
ROVar = car(MainForm~>RO~>value)
Clicking OK on my MainForm close the form and run the program. But the
value of my toggle button is always same. I don't understand why ?.
I tried to remove ?defValue list(t), but no changes...
May someone have an idea please?
Thanks for your help.
Regards,
b.
I have a problem with hiCreateToggleField.
In my form, i have only one toggle button. if button == t, i would
like to do something, else ...
but i don't know why, when i extract the value of my togglebutton, i
always have the same result: value = t whatever i press or not.
Here the definition of my button
RO = hiCreateToggleField(
?name 'RO
?prompt ""
?choices '((Read "Read Only?"))
?value list(t)
?defValue list(t)
);; end Toggle
and i extract my value like this:
ROVar = car(MainForm~>RO~>value)
Clicking OK on my MainForm close the form and run the program. But the
value of my toggle button is always same. I don't understand why ?.
I tried to remove ?defValue list(t), but no changes...
May someone have an idea please?
Thanks for your help.
Regards,
b.