Skip to main content

Trigger "SwitchToLayerTheme" command on toolbar tab selection

Comments

3 comments

  • John Nerge
    Are you using a button to run the command and parameter? I just tested it in the GVH 2.5 and can confirm it works.
    0
  • Permanently deleted user
    Hi John,

     

    Actually yes it works when I use a button to run the command. What I wanted to do was to execute the command without a button. Trigger the "SwitchToLayerTheme" command when the user select the appropriate tab. 
    0
  • John Nerge
    To my knowledge, no, you can't associate commands to toolbar tabs.

     

    I don't know if there's any way to modify the viewer config to run a command when a tab is clicked.
    0

Please sign in to leave a comment.