Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moving from vfp50 to vfp30 and having display problems
Message
From
30/07/1997 09:01:46
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00042146
Message ID:
00042305
Views:
25
>>thanks Jim for answering and I will remember to include error
>>messages with the problems I am having. I would lile to put
>>the problems I am having with MESSAGEBOX on hold for now.
>>I need to take care of the problem I am having with the FONTS.
>>As fas as the solution to my FONT problem, are you saying to
>>get all my FORMS from a class lib? Inotherwords you want me to
>>inherit everything?... thanks.. rob
>
>Ro=bert,
>
>Not all fomr in classes, I am saying it is a bad idea to ever put any of the VFP baseclasses in your forms. You shoudl ahve, at least, a class library that has one of each control you use as a subclass of the base class in it. Even if you change nothing about that subclass. This is because you cannot change the default properties for a base class to make them what you want for all instances of that class, but you can do that for you classes.
>
>So you need a class library that has a textbox, a checkbox, a combobox, a listbox, etc.. Use those classes when you build your forms. That way if you want the default font for all textboxes in your application to be WingDings Bold 28Pt you just set that as the font for yourt Textbox class. The alternative is (if you use the VFP baseclasses in your forms) to visit every textbox in every form and set its font.

Thanks Jim - I understand now...I guess setting the fonts should
be a regular pratice whether your using vfp50 or vfp30..
thanks again...Rob
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Previous
Reply
Map
View

Click here to load this message in the networking platform