Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Highlight current selected row in Grid
Message
 
To
01/05/2003 14:03:12
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00781621
Message ID:
00783817
Views:
15
Glad it works for you.

It is possible to run GHL with more than one condition in the current version, but it require some code in onPostHighlight_Row method to override the Dynamic... colors for certain columns and conditions. What is your scenario for grid coloring?

BTW, "Source not available" is because there is no source code with the class. You should note this, if you recompile all the files in the project - the highlight will just stop work, as the class library will have nothing in compiled code field. So, if you occasionally recompile all files in your project, the just re-add the original GHL classlib, and build the final EXE without "recompile all files" checked.

>On previous message "source not availble" thing, nevermind, I just deleted the object, added it in and it works this time. Thanks anyways.
>
>BTW: Good job on the code for that, actually you would think that microsoft would have this as standard features for grids, but glad you took the time to write it. Any chances of putting options for multiple conditions with other colors in the next version?
>
>Kev
>
>Kev, you need to enter in the property sheet:
>
>for cMultipleRecordsColor property: RGB(255,255,0)
>for cCustomCondition property: statcode > 59
>for lCustomCondition property: .T.
>
>That's it.
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
Next
Reply
Map
View

Click here to load this message in the networking platform