Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynamic ForeColor in Listbox?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00359294
Message ID:
00359394
Vues:
13
>>>I was pretty sure the sample I saw was an actual listbox, but who knows?
>>
>>I can produce a grid "listbox" that will be certain to fool anyone on screen.
>
>Bruce,
>
>So how does your grid listbox handle the coloring of the row when someone clicks on it? This one's been a bugger for me...

In the textbox gotfocus, put

this.backcolor = this.selectedbackcolor
this.forecolor = this.selectedforecolor

You may want to SET CURSOR OFF in the grid When, and back ON in the Valid, so that it doesn't look peculiar, also.
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform