Notifications
Clear all

[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.

3 Replies
2 Replies
(@denist)
Joined: 2 years ago

Posts: 0

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

(@legatobluesummers)
Joined: 2 years ago

Posts: 0

http://docs.autodesk.com/3DSMAX/16/ENU/MAXScript-Help/files/GUID-7C37748B-C682-4834-B5A6-74185C8C661A.htm

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