Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Individualizing forms created with forms wizard
Message
De
05/11/1997 10:02:11
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00058174
Message ID:
00058360
Vues:
39
>>>>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
Thanks for the info. I'll look at that.

Barbara
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform