Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Selected Back ground colour not displaying
Message
De
20/01/2004 07:45:22
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00868429
Message ID:
00868478
Vues:
14
Hi

>>>>>>>>>>>>
Is there a way of setting the 'Background Colour ' of a control (Text Box or Checkbox etc) so that it always displays the minute the control receives focus.

No, it is usefull, but FocusBackColor and FocusForeColor not exist.

You must:
* on GotFocus event put
this.BackColor = RGB(myFocusBackColorTern)

* on LostFocus event put
this.ResetToDef("BackColor") if origin is a class
or
this.BackColor = RGB(myBackColorTern)
Fabio
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform