The commands below are in the ‘Main’ start-up routine.
They cause the Label to say “undefined” instead of “true”, and they cause the message box to say “CheckBox value is undefined” instead of “CheckBox value is true”.
*** How can I set, and then read the value of the checkbox correctly?
(I have tried with checkboxes from both Bootstrap 4 and jqWidgets).
CheckBox22.setValue(1,True) Label2.text = CheckBox22.getValue(1) NSB.MsgBox "CheckBox value is " & CheckBox22.getValue(1)