General information
Category:
Forms & Form designer
>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only