Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp5.0a Backcolor property of trextbox in grid
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Vfp5.0a Backcolor property of trextbox in grid
Divers
Thread ID:
00297483
Message ID:
00297483
Vues:
66
Hello,

I'd like to change the backcolor property of textbox in a grid whenever the user clicks in the textbox in question.

I've added the following to the click event of the textbox (along with someother code).

ThisForm.Stgrid1.Column7.Text1.backcolor = rgb(255,0,0)
thisform.refresh

Unfortunately it only changes the backcolor to red while the mouse is actually on the textbox with the left mousebutton depressed.

As soon as the user releases the mousebutton the backcolor returns to its original color.

Any help would be appreciated.

Jim Harvey
jharvey@netrax.net
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform