Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using createobject to create combo boxes at run time...
Message
De
14/07/1998 17:31:45
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
 
À
14/07/1998 17:18:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00117342
Message ID:
00117346
Vues:
16
In your combo class you can add an LPARAMETERS statement to the init of the control and then pass those variables in the createobject control. For example,

*myCBOclass.init()
LPARAMETER cTable, nxPos, nyPos
*etc, etc

Then,
thisform.addobject('cbo1', 'myCBOclass', alias(), 23, 57 )

HTH

>Having been shown the light on using combo boxes to display all the fields in a table, I now want to be able to offer the option to users at run time, possibly for one, more often for a number of related tables. So I need to pass parameters for the table, position of the box etc. I can find no useful example of syntax using createobject to do a job like this. Can anyone point me at one?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform