Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grids DblClick Issue
Message
From
06/10/2000 13:21:51
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00425490
Message ID:
00426086
Views:
31
>> The first item that gets events here is control in column. I also do not see why column control even need to be subclassed, because evrything you need could be done using control, header and grid class. Column class subclassed causes VFP crash often, as well as it is very hard to maintain and use. Header can be made as class in VCX library, and it can be put into column in design-time.
>> HTH.
>
>I was sure, the only way to subclass Header is to do it programatically in a code. How would you do it in a VCX? Or did I misunderstnad you?
>
>TIA

Nadya, you understood correctly. I have my own header class in VCX class library. When I making new grid, I put this header into column in design-time and it replaces original default header. In addition, I have simple program that used to run over SCX or VCX file and replace all default header class to new header class, so I do not need to replace headers manually for each column of large grid.
To make such header in VCX library you will need to manually edit it as VFP table. This is somewhat tremendous when trying to edit header methods source code. However, you may do this in PRG file first, than move procedures cpde into VCX.
In fact, VFP have no ability to convert PRG classes into VCX, but you still can do this manually.
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