Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Put a button object in an existing form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01100032
Message ID:
01101354
Vues:
12
Hi David, Thanks for the sample code, will keep that in mind.


>David,
>
>Yes. In order for an object to be a visible element of a form it either needs to be put there at design time, or added at runtime with an thisform.AddObject() method call.
>
>You can reference non-visual objects from a form like this:
>
>
>* form.Init
>lparameter roManager
>
>this.oFormsManager = roManager
>this.oService = createobject( "cServiceX" )
>
>* some other form method
>this.oFormsManager.DoSomethingForMe()
>this.oService.GetXMLDoc(...)
>
>
>but these two other objects are not visible parts of the form itself.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform