Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Highlighting Check Boxes/Options in Forms
Message
 
À
07/10/1998 17:17:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00144802
Message ID:
00144814
Vues:
16
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform