Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to call Parent Class Procedure ??
Message
 
To
25/02/1998 22:02:41
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00081267
Message ID:
00081309
Views:
22
>if the parent class is simple textbox like
>
>e.g. QuickFill
>
>In simple procedure, just call
>* QuickFill1.interactivechange
>
>QuickFill::interactivechange
>
>*My additional coding here!! ^_^'
>
>But... if the class is buttongroup
>e.g NavGroup with CmdAdd, CmdDel, CmdQuit Button
>
>* In NavGroup1.CmdAdd.Click
>if I call cmdAdd::click
>it only redo the current work... >_<'
>
>* e.g. Navgroup1.cmadd.Click
>cmdAdd::click
>thisform.textbox1.Value = "ABC"
>
>it seem a infinity loop or done what is in new procedure then...
>~~'.'~~

Hi Justok

Try Navgroup1::CmdAdd.Click. The parent class is for the NavGroup1, not the individual command buttons contained in it. HTH
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada

cmagee@metroland.com

Never mistake having a career with having a life.
Previous
Reply
Map
View

Click here to load this message in the networking platform