Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GridHighlighter Invalid Dynamic Forecolor
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00763584
Message ID:
00763787
Views:
22
>The Properties of the GridHighlighter class that have changed are:
>
>cActiveHeaderColor = RGB(192,192,192)
>cActiveHeaderForeColor = RGB(0,0,0)
>cCustomCondition = mycursor.lSelected
>cHostName = grdNoOnDeposit
>cMixedColor = RGB(255,204,0)
>cMultipleRecordsColor = RGB(0,255,0)
>lBoldActiveHeader = .F.
>lCustomCondition = .T.
>lSetColorHeader = .F.
>
>All other properties are defaulted.
>
>The only other code is in the Grid AfterRowColChange Event:
>
>This.Parent.GridHighlighter1.Highlight_Row()
>
>Thanks
>Simon.

Hi Simon,

When it happens, could you check in Watch window and verify the columns DynamicBackColor expressions and underlying data?

Grid Highlighter only sets the expressions for Dynamic... colors, so at runtime it is the grid that gives an error if the Dynamic.. expression is not valid. The Dynamic expression may not evaluate correctly if the incorrect values are found in the data source.

You can take the current Dynamic... expression apart right in the Watch window and evaluate each component.
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