Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Overriding a method in a class
Message
From
06/08/1998 12:33:40
Shane Gilbert
Oklahoma State Department of Education
Norman, Oklahoma, United States
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00124505
Message ID:
00124527
Views:
16
>Shane,
>
>Since it's in a container class you have to modify the :: call a little use this: cmgButtons.cmdAdd::Click() this assumes cmgButtons is the commandgroup class name and cmdAdd is the name of the button.
>
>>This is VFP 3.0 and the button is within a command group within a class that I created and have dropped onto my form.

Thanks, that was what I was looking for, I just couldn't figure out how to use the scope resolution operator correctly.
--Shane
Previous
Reply
Map
View

Click here to load this message in the networking platform