Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Runtime page adding to pageframes
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00008220
Message ID:
00008221
Vues:
34
Hi Brian,

>I am new at VFP, and am trying to create a flexible wizard class. I am planning on passing the class several parameters, and an array as a paramter.
>
>First Question: Are there any gotchas with passing arrays as paramters?

Just remember to pass them by reference. You can find more info
in the help for SET UDFPARMS.

>2nd: One of the paramters is the number of steps for the wizard, in addition to the two global steps (output destination, and summary page). Lets say three steps. The class has two already, how do I dynamically add the number of pages to it? I have tried addobject, and it isn't working for me.
>
You can have:

YourPageFrame.PageCount = ntNumberOfPages

HTH,

J. Luis
J. Luis Santiago Rodríguez.• CADIS • E-mail: jlsantiago@iserve.net.mx• Ciudad de México.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform