How to Call the Class Code of a Control in a ContainerID: Q138496 The information in this article applies to:
SUMMARYIf you override the event code of a control in a container class, you can call the control's events by using the Class property of the container, the scope resolution operator, and the Name property of the contained control:
MORE INFORMATIONFor example, if you choose to add text buttons to a form using the Form Wizard, a container class based on Txtbtn in Wizstyle.vcx is added to the form. To add additional code to the Next button while preserving the original functionality of the button, include the following line in the cmdNext Click event code window:
For more information about adding code wizard-generated command buttons,
please see the following article in theMicrosoft Knowledge Base:
Additional reference words: 3.00 VFoxWin
KBCategory: kbprg kbhowto
KBSubcategory: FxprgClassoop
|
Last Reviewed: October 25, 1995 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |