Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Runtime page adding to pageframes
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00008220
Message ID:
00008221
Views:
35
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform