[Closed] Bypass Third State on Checkbox
edit: it reverts to three states if you throw an error in the event handler, i’m stupid. disregard.
edit: and does anyone know why listBox readOnly cannot be set as aproperty outside the constructor? that is extremely inconvenient.
that’s a different story… type of control defines on creation stage. for many windows controls there is no way to change style of the control after creation
it says its a constructor argument, and that actually works, but then it also claims it is a property of ListBox, which does not work, i found one thread on the net that says its a ‘bug’. so idk, i though it might be caseSensitive, but i couldn’t figure it out. it throws an error saying ‘readOnly’ isn’t a property of listbox.
<snip> nvm i wasn’t thinking
what listbox are you talking about?
the mxs listbox has an optional argument: readonly