Select to view content in your preferred language

Disable Tab/Group when a Tool is activated

765
1
Jump to solution
10-11-2018 06:41 AM
MKa
by
Frequent Contributor

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>
0 Kudos
1 Solution

Accepted Solutions
1 Reply
CharlesMacleod
Esri Regular Contributor