Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I set the property of a button from a procedure?
Message
 
To
16/04/1998 12:19:02
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00092543
Message ID:
00092592
Views:
30
>>>>>---
>>>>>Not to sure about: oApp.Frm1=createobject("class1")... should this be...
>>>>>oApp.Frm1=createobject("my_form")... why did you use CLASS1?
>>>>
>>>>that's because i am 2000 miles from you and don't see what are real names of classes you are using :).
>>>---
>>>What I meant was...I thougt you were using creatobject for a CLASS and not a
>>>FORM - hence: oApp.Frm1=createobject("my_form [A FORM]") instead of:
>>>oApp.Frm1=createobject("class1 [A CLASS]")... You see the difference? You are
>>>also 2000 light years ahead of me at this point. :))
>>
>>a form saved as a class is a class. regarding your next question, the classlib that holds your form class must be open before you can create this.
>---
>OK - then you can only use createobject for CLASSES? I do not want to
>save my form as a class. How can I reference the buttons on this non class FORM?

then follow ed's advice from before?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform