How To Use the Wizard txtbtns Class in a Non-Wizard FormLast reviewed: October 17, 1996Article ID: Q139597 |
The information in this article applies to:
SUMMARYThe Form wizard can create a fully functional data entry form for any table. The form generated by this wizard contains a standard button bar that provides navigation, editing, end searching functionality. It is possible to also use this button bar in forms not created by the Form wizard.
MORE INFORMATIONTo use the wizard button bar in a form not created by the Form Wizard, create a new visual class library to be used separately from the Wizstyle.vcx visual class library. To do this, either subclass the txtbtns class in the Wizstyle.vcx visual class library, or create a new visual class library using the ADD CLASS command. If the new class is created by subclassing the txtbtns class in the Wizstyle.vcx visual class library, it will inherit any future changes that are made to the txtbtns class. However, if the new class is created using the ADD CLASS command, it will not be affected by any future changes made to the txtbtns class in the Wizstyle.vcx visual class library. Once the new class has been created, it can be added to a form.
Subclassing the Txtbtns Class
Using the ADD CLASS commandTo create the new class using the ADD CLASS command, type the following in the Command window:
ADD CLASS txtbtns OF SYS(2004)+"Wizards\Wizstyle.vcx" TO Wizbtns.vcx Adding the Txtbtns class to a form
|
Additional reference words: 5.00 VFoxMac 3.00b 3.00 VFoxWin oop
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |