Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What method do you use when designing forms?
Message
From
04/07/2005 11:51:52
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
04/07/2005 11:30:22
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01028415
Message ID:
01028821
Views:
10
>Cetin,
>
>Thank you very much! Indeed, I've been looking at code and the majority of the time creating my own designs. Though cumbersome at times, it worked. I thank you for explanation and assessment of what I, at times, been doing wrong.
>
>Thanks,
>
>Vernon

Vernon,
'your own designs' - This highly probable is something you shouldn't do in code but with visual designers too (not all of them fit in this and some really needs manual coding - such as nonvisual classes). ie: If your forms have a unique look and common code then first you create a 'baseform' class and create all your forms from this class (not easy and even I don't know if you could do using 'New form'-I've never used it, but I think yes if you set default form class in options).
Say you design a new form,put a background picture,set default height,width for your forms, add a few custom common methods. After doing that visually, File\SaveAsClass. Assuming you saved that in myClassLib as myBaseForm, to create a new form, in command window enter:

create form < SomeForm > as myBaseForm from myClassLib

Then continue to design visually.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform