Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Put a button object in an existing form
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01100032
Message ID:
01101354
Views:
14
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform