2009/8/30 Laurent Godard <[email protected]>:
> Hi Johnny
>
> the event of a button in a dialog throws an event object to the called
> macro. This Event object has a Source property that contains the caller
> object
>
> design your button, plugg it to the MySub macro
>
> then
>
> sub mySub (oeVt)
>        print oEvt.Source.name
> end sub
>
>
> HTH

This helped indeed. It was wrong, but it helped… There is no
oEvt.Source.Name, but now that I know this is possible I used Xray and
found oEvt.Source.getModel().Name.

Thanks!

Johnny Rosenberg

>
> Laurent
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to