|
From: Alexander S.K. <al...@be...> - 2013-05-17 06:30:33
|
oleksa writes:
> Then need to correct the method onclick which gets the self and id as parameters,
>
> METHOD onClick() CLASS HOwnButton
> IF ::bClick != Nil
> //::oParent:lSuspendMsgsHandling := .T.
> Eval( ::bClick, Self, ::id )
> ::oParent:lSuspendMsgsHandling := .F.
> ENDIF
> RETURN Nil
>
Yes, sure. BTW, in 2.16c it's right ( see :Mup() method ):
Eval( ::bClick, ::oParent, ::id )
Regards, Alexander.
|