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:
00359509
Vues:
9
>>>>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.

Works better than what I had! Thanks, Bruce.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform