We have a set of "tools" that we use with Gambas. They are generally stand 
alone and are invoked "by hand" and at startup the user selects the Gambas 
source project to "attach" to.
Now I want to provide some integration between them, i.e. allow Tool_B to be 
invoked from a Tool_A menu or button.  In that case, I want to pass a context, 
i.e. the source project that is attached in Tool_A.

What I want to determine is what's the best way to find out, in Tool_B "how I 
was invoked".

Currently I think that using gb.Args and passing a specific flag option to 
indicate that has been invoked from another tool (I can test that with 
Args.Has).

But I'm not sure that this is really the "best" way.  Any thoughts?

regards
bruce

-- 
B Bruen <adamn...@gnail.com (sort of)>

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to