Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Runtime page adding to pageframes
Message
 
À
20/09/1996 14:31:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00008220
Message ID:
00008308
Vues:
40
>>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?
>>
>>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.
>>
>>I'd appreciate any help. Thanks.
>
>Gee, you're new at VFP and your're starting with a Wizard?
>
>Alex.


Actually, it is going quite well. I have all the dynamic paramters being passed to the class. This sets up the page titles, page caption, respnse width, respnse type, etc. Everything moves forwards and backwards. My current block is having the response fields (a text base class) have an array element as their control source. This has to be set in the init() of the class. Do I have to pass my paramters to the Init() method of the class? This makes it so my params are local to the method. How do I increase their scope without copying them into other duplicitive arrays? I have tried programmatically setting the control source of the text fields in the init() of the class, but it doesn't take. any suggestions?
I have tried both ...controlsource=(aStepDef(1,2)) and ...controlsource="aStepDef(1,2)".
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform