Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Column ControlSource && DynamicBackColor Assign
Message
From
13/02/2002 05:18:59
 
 
To
13/02/2002 05:13:21
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00619330
Message ID:
00619332
Views:
13
This message has been marked as a message which has helped to the initial question of the thread.
Hi!

There are no way without subclassing.

For what you need this functionality??? MANY things for grid could be done quite another way than just subclassing columns. I worked on the grid that do very complex processing for ALL columns in grid, but nether worked so slow even for grids with 200 columns.

I can also look to code and tell what could be improved and how to improve speed.

>Hi all,
>
>Anyone's found a way to have Assign methods on eg Column.DynamicBackColor/ControlSource (with a hook or so) without subclassing the Column ?
>
>I have managed to do so by subclassing the Column and by simply replacing all the columns in the Grid.Init() by a custom Class Column. It's working well.
>
>The only drawback, however, is the time it takes to handle grids with a lot of columns. I have a grid with 86 columns (and still growing) and it takes 2.5 sec (500 MHz), which I find too long to be added to the form's load time.
>
>Thanks in advance
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
Next
Reply
Map
View

Click here to load this message in the networking platform