if you are a human please do not click here
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
Username :
Password :
Home
Help
Calendar
Register
Login
XMetaL Community Forums
»
General
»
General XMetaL Discussion
»
How to invoke a macro when a tab is selected in XMetaL Resource Manager
Pages:
1
« previous
next »
Print
Author
Topic: How to invoke a macro when a tab is selected in XMetaL Resource Manager (Read 208 times)
wksim
Member
Posts: 14
How to invoke a macro when a tab is selected in XMetaL Resource Manager
«
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
Re: How to invoke a macro when a tab is selected in XMetaL Resource Manager
«
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
Re: How to invoke a macro when a tab is selected in XMetaL Resource Manager
«
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
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> Forum Information
=> General XMetaL Discussion
=> DITA and XMetaL Discussion
=> XMetaL Tips and Tricks
=> XMetaL Announcements and Events
Loading...