Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Highlighting Check Boxes/Options in Forms
Message
 
To
07/10/1998 17:17:39
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00144802
Message ID:
00144814
Views:
15
>Is it possible for a user to tick a checkbox/option and as a result the form automatically highlights other objects on the form or dims/change colour them?
>
>The idea is if the user chooses a 'Yes' answer to a question, for example, he/she will then be prompted to tick some other check boxes as a result.

You can add the code like:

*** checkbox.InteractiveChange()
IF !empty(this.value) && checkbox is checked
thisform.txtName.BackColor = RGB(255,0,0) && red
thisform.txtAddress.BackColor = RGB(255,0,0)
ENDIF

You can also manipulate this way other properties, like .ForeColor, .FontBold etc.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform