Re: Checkboxes - activate one at a time, not both, how?
Hi PowerSäm,
it depends what behaviour you want your application to have. Would you prefer if the checkbox was clickable but automatically removed the check on the other checkbox, or rather that you can't check it.
Either way you could put checks on the OnCheck/OnUncheck actions.
For example if you want it to be uncheckable; in both checkboxes' OnCheck:
If(otherCheckbox.Value, false, true)
and if you want it to take override the other checkbox I think you'll need a variable to keep track for example something like
in the screen OnVisible you Set(varCheckboxOn1, false); Set(varCheckboxOn2, false);
checkbox1 Default: varCheckboxOn1
checkbox2 Default: varCheckboxOn2
and then on the OnCheck and OnUncheck action in both checkboxes you can adjust them however you want
Hope this helps