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:
00359394
Views:
12
>>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform