Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How much of your code do you test?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00721300
Message ID:
00722352
Views:
27
>>For me, the main feature of BINDEVENT() is the ability to tap into the unsuspecting :)existing objects/controls. There are no changes requred for the existing forms/classes/code etc. You can just add the new functionality if necessary. For example, my GridHighlighter for VFP 8 does not require adding the one line of code into the grid AfterRowColChange() event. I just BINDEVENT() the grid.AfterRowColChange() event and GHL.Highlight_Row() method.
>
>Hi again Nick,
>With VFP 8's internal grid highlighting functionality, why would you need to update your utility for 8? Or does it do other things too?

VFP 8's native grid highlighting functionality just does one thing - highlights the current row using .HighLightForeColor and .HighLightBackColor properties.

For added functionality, like highlight the active cell (and/or column header) with the same or different color, highlight multiple records/cells, etc. you still need to write the code somewhere either in the grid or some other control. So, GHL still appears as a viable control, which for VFP 8 will use the native VFP8 grid row highlighting, and still contain the properties/methods for all other imaginable highlighting features. This way you can keep the grid completely "clean" of all this code and be able to add all this functionality to any unsuspecting grid within seconds. :)
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