Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checkbox question
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00250417
Message ID:
00250456
Views:
19
>I want to run code in a click event of a checkbox but NOT change the value and NOT have to reset it after it changes (the way I am doing it now)
>
>Can anyone help? Tried to trap mouse clicks, keyboard, nodefaults etc. but it still wants to change the value.
>
>Robert

Why?

Use a command button if you want the appearance to stay the same, and then update a field if you want to.

Use a checkbox if you want the user to be able to see what value it has, and then either disable to checkbox if the user isn't allowed to update it, or all the user to change the value.

(gosh, when I re-read that, it sounds like I'm being kinda harsh, but I'm not trying to be. I was just trying to say, "It sounds like you need to work more closely with windows standards..." oh well! :-)

Of course, you can just keep reseting it to mycheckbox.value = !mycheckbox.value if you want...
--Todd Sherman
-Wake Up! Smell the Coffee!
Previous
Reply
Map
View

Click here to load this message in the networking platform