Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
You said you wanted highlighted grid row...
Message
 
To
21/09/2000 02:12:22
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00418865
Message ID:
00418921
Views:
30
I like to play with classes, you know... :)

>Nick,
>
>Been in the sandbox again?
>
>
>>... then download the GridHighlighter class I just posted in Files Section/Classes - VCX.
>>
>>Forget adding properties and code in different places in the grid.
>>Forget creating special grid class with built-in highlight row functionality. You don't need to do it anymore.
>>
>>All you need to do:
>>
>>1. Drop the instance of GridHighlighter class beside your grid (at the same level that is)
>>
>>2. Set GridHighlighter1.cHostname property the same as your Grid.Name (i.e. "Grid1")
>>
>>3. Set the corresponding GridHighlighter properties if you don't like the default highlight color, or if you want to choose highlight OR boldface (default setting is both)
>>
>>4. Add one line of code to your Grid.AfterRowColChange() event:
>>
>>this.parent.GridHighlighter1.Highlight_Row()
>>
>>5. Voila! There you go. :)
>>
>>See README.TXT for more details.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform