Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Runtime Forms Designer Capability
Message
 
 
À
29/01/2008 10:09:33
Jon Neale
Bond International Software
Wootton Bassett, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
MS SQL Server
Divers
Thread ID:
01286605
Message ID:
01286644
Vues:
22
>How\where would you store the new form, as the saveas method doesnt work in runtime?
>
>Thanks
>
>Jon

Do you want to create the form too?

If yes, then have a template form as a class, say, myTemplateForm.

In run-time:
loForm = newobject('myTemplateForm', 'myClassLib.vcx')

loForm.NewObject('lblTest','myLabelClass')
with loForm.lblTest
  .left = 5
  .top = 5

   .visible = .t.
endwith

loForm.Show()
from the top of my head (and memory).

You would not have this form saved as an SCX/SCT, but is it what you want?
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform