General XMetaL Discussion

XMetaL Community Forum General XMetaL Discussion How to invoke a macro when a tab is selected in XMetaL Resource Manager

  • wksim

    How to invoke a macro when a tab is selected in XMetaL Resource Manager

    Participants 1
    Replies 2
    Last Activity 11 years ago

    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,

    Reply

    Derek Read

    Reply to: How to invoke a macro when a tab is selected in XMetaL Resource Manager

    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.

    Reply

    wksim

    Reply to: How to invoke a macro when a tab is selected in XMetaL Resource Manager

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

    Thanks.

    Reply

  • You must be logged in to reply to this topic.

Lost Your Password?

Products
Downloads
Support