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:
00359432
Vues:
10
>>>>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.

As an echo, these are the kinds of things I've done for a read-only grid ( listbox look-alike or not ) and it seems to work pretty well.
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform