Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Check Boxes
Message
 
À
20/07/1998 17:37:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00119481
Message ID:
00119502
Vues:
25
> Anybody have a scheme to share that will make the check box easier to tell when it has the focus? If different colors are used,they need to stay within the users control when they change their color scheme in the control panel.

Most of the interface properties for a checkbox will have little effect if there isn't a caption. You could add a caption on the gotfocus and get rid of it in the lost focus. Something like this:

GotFocus()
This.Caption = IIF(This.Value,"Yes","No")

LostFocus()
This.Caption = ""

InteractiveChange()
IIF(This.Value,"Yes","No")


An easier solution would probably be to have a caption. :) It's definitely more standard.
Mike Feltman

F1 Technologies
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform