Pages: 1
Print
Author Topic: How to invoke a macro when a tab is selected in XMetaL Resource Manager  (Read 208 times)
wksim
Member

Posts: 14


« on: August 16, 2011, 01:55:55 PM »

Is there a way to run a macro when a tab is selected in the Resource Manager? I added a tab for a custom ActiveX object to the Resource Manager, and would like to do something when the user selects the tab.

Thanks,
Logged
Derek Read
Program Manager (XMetaL)
Administrator
Member

Posts: 1548



WWW
« Reply #1 on: August 16, 2011, 03:43:44 PM »

Currently there are no events in XMetaL Author that will fire when a user selects a tab in the Resource Manager.

If your ActiveX control is sitting in an HTML page loaded in Internet Explorer (WebBrowser control) then you might be able to get IE to fire an event. I'm not sure which at this point but perhaps something like window:onFocus or body::onFocus might work.
Logged
wksim
Member

Posts: 14


« Reply #2 on: August 16, 2011, 03:50:24 PM »

It is a custom ActiveX object built with c#.NET. I am using _Paint() event, and it works.

Thanks.
Logged
Pages: 1
Print
Jump to: