Freeze a Checkbox
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Freeze a Checkbox
Is there a way to have a checkbox "Stay" selected once it is checked?Even if the user clicks on it again?
Thanks
Bidge
Thanks
Bidge
Hi Bidge, one way would be:

Code: Select all
on mouseUp
if the hilite of me is true then
exit mouseUp
else
if the hilite of me is false then
set the hilite of me to true
end if
end if
end mouseUp

Bidge-
Not really sure why you'd want to do this, but I can condense gyro's answer even further:
<g>
Not really sure why you'd want to do this, but I can condense gyro's answer even further:
Code: Select all
on mouseUp
set the hilite of me to true
end mouseUp
Bidge,
you confuse the user if you offer him a checkbox and the user can not check it. For the user interface it would be better to disable a checkbox if you want to freeze it.this dimms the checkbox and the user has a clue that it is not functional. Otherwise the user thinks your program does not work.
regards
Bernd
you confuse the user if you offer him a checkbox and the user can not check it. For the user interface it would be better to disable a checkbox if you want to freeze it.
Code: Select all
set the disabled of btn 1 to true
regards
Bernd
Doh, again!!Not really sure why you'd want to do this, but I can condense gyro's answer even further:
Code: Select all
on mouseUp set the hilite of me to true end mouseUp


