Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamic ForeColor in Listbox?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00359294
Message ID:
00359432
Views:
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.

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.
Previous
Reply
Map
View

Click here to load this message in the networking platform