Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Possible to subclass columns?
Message
From
24/10/2007 14:46:44
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01262883
Message ID:
01263275
Views:
13
Hi Borislav,

Yes, I actually use my own classes and these are actually subclasses of the VMP framework (and those are subclasses of VFP classes). But even given that, the form failed to load after inserting my classes. I suspect that it's because the columns are not records in the .scx and therefore there is no place to redefine which classes the columns inherit from.

Albert

>>Hi Borislav,
>>
>>Thanks for the info. I created a non-visual class and was able to specifiy it in the grid subclass via the MemberClass and MemberClassLibrary properties but it turns out that if I try to do that, the existing forms "choke" when I try to load them - I suspect that this would work if I were designing new forms and then dropping the grid onto the form. For now, it works okay to add some code to the INIT() of the grid to just set the property I need at run time. I have a lot of forms in this app and so it would take too much to reconfigure all the grids.
>>
>>Thanks anyhow...Albert
>
>If you use your own classes for all native subclasses this could be easier job for you. That is why you should never use NATIVE classes, but make you own subclasses.
Previous
Reply
Map
View

Click here to load this message in the networking platform