Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Individualizing forms created with forms wizard
Message
 
To
04/11/1997 12:40:41
Edward Crawford
City Facilities Management
Glasgow, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00058174
Message ID:
00058181
Views:
31
>>I created a secondary form using the forms wizard. Looks good, (top, bottom, prev, next, exit) buttons all work but I want to transfer the selected data to the underlying form when I press the exit button. If I put my save routine under the exit buttons properties, it transfers my data but no longer exits the the secondary form. What am I doing wrong?
>>Suggestions are welcome.
>>
>>Barbara
>
>Barbara:
>
>I don't use the Forms Wizard, but the buttons that you describe are probably subclassed from another class. Since the RELEASE code is probably located in the parent class, you need to place DODEFAULT() after your code in the Click Event of the Exit button. Since you placed code in this event, the inherited behavior will not execute unless you do this.
>
>-Ed

The txtbtns class from wizstyle contains all the code. Its buttons are based on vfp base classes. You should make a copy of this class in your own class library so you can modify it without screwing up the original code. It is not an ideal basis for a framework for a new app, but a version modified to your taste can be very useful for renovating any form created with the form wizard.
Previous
Reply
Map
View

Click here to load this message in the networking platform