Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How-to on sub-classing
Message
 
To
11/08/2000 09:20:54
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00403871
Message ID:
00403883
Views:
10
>Goal: sub-class the form controls toolbar
>
>I copied the _base.vcx files to a local directory for development.
>I then referenced this class in Tools\options... This successfully gave me a a new controls toolbar and I can modify methods with the class browser. I made a specific change to a grid.
>
>However, when I drag a table onto the form from the data environment, it doesn't reference my current class library. What part have I missed.
>
>Thanks

I'm not sure that I completely under here, but it sounds like you haven't referenced the class objects as being used for the fields. You do this by modifying the database file, right clicking a table or view and selecting modify. If it's a table, the table designer appears with "Map field type to class" in the lower left corner. A view will have the field tab of the view designer. Select properties, there will be a similar dialog that appears with the a caption "Map field type to class". In both cases, you can select the class and object to map to the particular field.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform