Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Subclassing the Foxpro Base Classes...
Message
 
To
19/07/1999 20:23:14
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00243353
Message ID:
00243475
Views:
28
Harry,

Thoise classes (in FFC) are the foudnation calsses. Base classes are built into to VFP and cannot be modified, only subclassed. Unless you took some specific action to get your fomr to use your subclasses, then you are using the VFP baseclases, not the classes you think.

Open the form designer and right-click on one of your textboxes and select properties form the menu. Look at the property named Class, what does it say? If it says Textbox, then you have the VFP Baseclass.

To use your classes: Click on the toolbar button of the controls toolbar that has a set of books on it. Then choose Add, in the dialog locate the class library you want to use. The controls toolbar now has buttons on it for the classes in the library you selected. Use these buttons to place controls in your form.

There are other ways to get VFP to use your classes. The tools-options dialog has a page titled Field Mapping. ON this page you can assign specific classes to the various data types. Also, in a databse you can assign a specific class to each field in a table.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform