Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How-to on sub-classing
Message
 
À
11/08/2000 09:20:54
Bruce Covey
Home Depot Television
Atlanta, Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00403871
Message ID:
00403883
Vues:
11
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform