AnsweredAssumed Answered

Disable Tab/Group when a Tool is activated

Question asked by mjk5000 on Oct 11, 2018
Latest reply on Oct 11, 2018 by cmacleod-esristaff

I have a dockpane/tool that when open, I want to prevent users from activating any of my other tools on my tab/group.  I created a custom proConfig and want to prevent users from using any tools from say 5 of the 7 groups on my tab.  

 

On launch of a tool/dockpane, I want to disable the buttons/groups of others, and reactivate when the tool is closed.  I am done with the tool, I just need to know how to disable other groups/buttons in the .daml programmatically. 

 

Here is the group definition for my module.  When a tool from the Map_AllTools group is activated, I want the other groups to be disabled, until the Tool used is decativated/done.  

 

<tabs>
        <tab id="Map_Tab1" caption="Map - TEST" keytip="Z1" condition="esri_mapping_mapPane">
          <group refID="Map_BasicClipboard" />
          <group refID="Map_BasicNavigate" />
          <group refID="Map_BasicLayers" />
          <group refID="Map_BasicSelection" />
          <group refID="Map_BasicInquiry" />
          <group refID="Map_BasicFeatures" />
          <group refID="Map_AllTools" />
          <group refID="Map_GoToTools" />
        </tab>
      </tabs>

Outcomes