Get object from which a program has been called

For tips, questions and general information about writing Add-ins, how to package them, and how to submit them to EViews for publication.

Moderators: EViews Gareth, EViews Moderator

tho_mi
Posts: 61
Joined: Sat May 12, 2012 2:41 am

Get object from which a program has been called

Postby tho_mi » Thu Mar 29, 2018 8:20 am

Hey,

is there a way to find out which from which object a specific program/add-in was called? E.g. a procedure for matrices and vectors can be called via Proc -> Add-Ins when a matrix/vector has been opened. Is there a way to get the corresponding object without asking the user to specify it via a dialog?

Thanks in advance!

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 11912
Joined: Tue Sep 16, 2008 5:38 pm

Re: Get object from which a program has been called

Postby EViews Gareth » Thu Mar 29, 2018 8:44 am

_this
Follow us on Twitter @IHSEViews

tho_mi
Posts: 61
Joined: Sat May 12, 2012 2:41 am

Re: Get object from which a program has been called

Postby tho_mi » Thu Mar 29, 2018 9:11 am

Thanks!

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 11912
Joined: Tue Sep 16, 2008 5:38 pm

Re: Get object from which a program has been called

Postby EViews Gareth » Thu Mar 29, 2018 9:36 am

As an aside, it might be useful to download some of the existing object based add-ins to see tricks of the trade
Follow us on Twitter @IHSEViews

tho_mi
Posts: 61
Joined: Sat May 12, 2012 2:41 am

Re: Get object from which a program has been called

Postby tho_mi » Thu Mar 29, 2018 11:04 am

I've already done that to get some info about the UI/dialogs. Thanks :)


Return to “Add-in Writing area”

Who is online

Users browsing this forum: No registered users and 1 guest