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:
01100049
Views:
16
I see. Thanks for your confirmation!


>Yes, you're correct. You cannot added existing object to a form
>
>>oh, I thought that would create a new instance of the button and add it to the form, rather than adding an existing instance of the button to the form...
>>
>>>
of = createobject('form')
>>>of.addobject('cmdWhatever', 'commandbutton')
>>>of.cmdWhatever.Visible = .T.
>>>of.show(1)
>>>
>>>>
Previous
Reply
Map
View

Click here to load this message in the networking platform