Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Missing Feature In VFP 7.0?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00697186
Message ID:
00697830
Vues:
19
David,

Why are you copying forms instead of creating form classes for each?

>I have several template SCX files for the different types of forms I use. My current form builders copy and rename a template file then use the following commands to open the new form file in design mode, create a reference to it and then add objects and set properties:
>
>
MODI FILE (newfile) NOWAIT
>
>FOR ln = 1 TO _SCREEN.FormCount
>   IF _SCREEN.Forms(ln).Name = "frmTemplate"
>      lo = _SCREEN.Forms(ln)
>      EXIT
>   ENDIF
>ENDFOR
>
>lo.Caption = "My New Caption"
>...
>
>If I am using the code:
>
>
CREATE FORM (myform) AS myForm FROM myForms NOWAIT
>
>don't I first have to convert my template SCX files into a VCX class file?
>
>Is there some way I can use the Class Designer to accomplish this or does this just also work within the Class Designer tool?
>
>
>
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform