Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disabling a button contained in a class
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00819249
Message ID:
00819251
Views:
13
>i have a class for my buttons named "mybutton1". this class has a command group named mybutton. i put this class inside a form named myformbase1 which is also a class based on form.
>
>i want a button in my button to be disabled when my form is loaded. i use "thisform.cmdButton1.Enabled=.F."
>
>an error occurs, "unknown member CMDBUTTON1".
>
>what should i do?
thisform.myButton1.cmdButton1.Enabled=.F.
Is that what you need?
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform