Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Individualizing forms created with forms wizard
Message
From
04/11/1997 15:29:07
 
 
To
04/11/1997 15:14:38
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00058174
Message ID:
00058207
Views:
33
>>>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
>DODEFAULT() worked great! Thanks!
>
>Barbara


Regarding DODEFAULT()

I attended a lecture held by Drew Speedie, ( hope that last name
is spelled right ) Drew said that the DODEFAULT is not always
to be trusted. There are times it will not call the function
that you want it to call. Granted the model he was showing
where this function failed was much more complicated. His
suggestion was to get familiar with the subclassing syntax
and call the functions directly ( eg. txtbtns::Save() ).


Dan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform