Re: calling parents event by Paul
Paul
Fri Jun 22 13:41:38 CDT 2007
Specifically,
<my code>
DODEFAULT()
<more code>
If you add code to a method, that will prevent the inherited (default) code
from running. If you want the inherited code to run, use DODEFAULT(). Be
sure to include any necessary parameters, e.g., DODEFAULT([parameter list]).
"Stefan Wuebbe" <stefan.wuebbe@gmx.de> wrote in message
news:eWq9mzNtHHA.1168@TK2MSFTNGP02.phx.gbl...
>> how should I call the default code of the event ????
>
> See DoDefault() in help.
>
>
> -Stefan
>
>
> "Fanor" <xreed2000@yahoo.com> schrieb im Newsbeitrag
> news:%23WgVwwNtHHA.4476@TK2MSFTNGP03.phx.gbl...
>> Hi all,
>>
>> In VFP 8.0 I'm using picformbtns. As you know there are many buttons and
>> there is default code for the click event.
>> I want to add my own code before and after the default event code.
>>
>> for button cmdAdd in the click event something like
>>
>> procedure click
>>
>> mycode
>> ......
>> call cmdAdd default click event code
>> .....
>> more code
>>
>>
>>
>> how should I call the default code of the event ????
>>
>> TIA
>>
>
>
> --
> |\_/| ------ ProLib - programmers liberty -----------------
> (.. ) Our MVPs and MCPs make the Fox run....
> - / See us at www.prolib.de or www.AFPages.de
> -----------------------------------------------------------
>