Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing 'Display Class' Property in DBC back to < Default>
Message
From
22/09/1997 18:14:16
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Changing 'Display Class' Property in DBC back to < Default>
Miscellaneous
Thread ID:
00051125
Message ID:
00051125
Views:
70
In my young and foolish days, I set the "Display Class" for each of the fields I created to something appropriate (TextBox, Spinner, etc.). This setting is visible in the bottom left hand corner of the modi stru window for each table. It now appears that this was a bad Idea and should only have been done where the default was not desired.

It wasn't clear to me in the beginning, but I now know that I can control the Default choices for library location and class name (this is My framework, MY subclassing of VFP's base classes into MY base classes) through tools/options/Field Mapping. My TextBox "base class" is called "txt", for Spinner, its "spn" etc.

I now need a way to change all the values back to so that drag an drop from the data environment to a form will create a "txt" class rather than a "TextBox" class, and the manual approach s not appealing.

The actual info to be changed is in the database container in the property field. Sounds easy so far but this field is a memo field which holds an undefined mixture of field comments, the "display class" that I'm trying to change, and other things.

Any thoughts would be appreciated.

Bob
Reply
Map
View

Click here to load this message in the networking platform