Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Attention Grid Highlighter class users!
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00422183
Message ID:
00422728
Views:
9
Hi, Nick!

I passed this period of grid development so far and can say that independence here is very good thing. Now I don't aware about control/header names. I just call grid's method 'GetColumnHeader' that returns reference to header by column. The same method is for control (you can easy get it using CurrentControl property of column).
The reason why header may be renamed is very simple - adding another header class to the column. For that you need to add it, than rename it to 'Header1'. However, this don't work always because header don't have 'Visible' property, so some internal events still could exist for old header preventing it from removing, thus preventing renaming of new header.
To do not deal with above problem I just leave header name default and use grid's GetColumnHeader method.

>Hi All,
>
>For the next version of Grid HighLighter class I am consdering removing the limitation when certain visual effects work only if the name of the column textbox is "Text1" and the header is "Header1". That would mean some extra code.
>I wonder, if it is really necessary, i.e. does one usually use these default names for grid controls or people often do rename them?
>I personally always leave the default names.
>
>I would appreciate any feedback.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform