Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What method do you use when designing forms?
Message
De
04/07/2005 11:51:52
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
04/07/2005 11:30:22
Vernon Chambers
New York City Transit
New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01028415
Message ID:
01028821
Vues:
9
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform