Message 1 of 5
checkbox not updating in the Rollout correctly?

Not applicable
10-05-2007
12:04 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Quick Question...
If I have a checkbox in a rollout with a button that is pressed, which is designed to invert the state of the checkbox no matter whether the checkbox is ticked ON or OFF, why does the following code not work?
on SelectInvert pressed do
(
if cb_wrl.state = true then
(
cb_wrl.checked = false
)
else cb_wrl.checked = true
)
Thanks,
Mike
If I have a checkbox in a rollout with a button that is pressed, which is designed to invert the state of the checkbox no matter whether the checkbox is ticked ON or OFF, why does the following code not work?
on SelectInvert pressed do
(
if cb_wrl.state = true then
(
cb_wrl.checked = false
)
else cb_wrl.checked = true
)
Thanks,
Mike