<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Only one tool usable at a time? in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/only-one-tool-usable-at-a-time/m-p/1670038#M13290</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Your issue isn't in xaml. You open window as modal. Try open it as &lt;A href="https://learn.microsoft.com/en-us/dotnet/desktop/wpf/windows/dialog-boxes-overview#modeless-dialog:~:text=again%20later.%22)%3B%0A%7D-,Modeless%20dialog,-To%20show%20a" target="_self"&gt;modeless&lt;/A&gt;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;        private ProWindowMakeProFilters _prowindow = null;

        protected override void OnClick()
        {
            //already open?
            if (_prowindow != null)
                return;
            _prowindow = new ProWindowMakeProFilters();
            _prowindow.Owner = FrameworkApplication.Current.MainWindow;
            _prowindow.Closed += (o, e) =&amp;gt; { _prowindow = null; };
            _prowindow.Show();
            //uncomment for modal
            //_prowindow.ShowDialog();
        }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 03 Dec 2025 07:07:44 GMT</pubDate>
    <dc:creator>GKmieliauskas</dc:creator>
    <dc:date>2025-12-03T07:07:44Z</dc:date>
    <item>
      <title>Only one tool usable at a time?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/only-one-tool-usable-at-a-time/m-p/1669939#M13289</link>
      <description>&lt;P&gt;I've created a ribbon bar that allows for some location specific tools. One of those tools is a popup window allowing a user to enter a Latitude/Longitude coordinate and zoom to it or mark it on the map. When this window is open, if the user attempts to use one of the other items on the ribbon, they all grey out.&lt;/P&gt;&lt;P&gt;I'm curious what the procedure/code is to allow this tool to remain open while leaving the other tools still usable.&lt;/P&gt;&lt;P&gt;Code for the window is pretty basic:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;Window x:Class="FNSBArcGISProAddin.Tools.LatLonDialog"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:FNSBArcGISProAddin.Tools"
        mc:Ignorable="d"
        Title="Latitute Longitude Interface" Height="150" Width="330"&amp;gt;
    &amp;lt;Grid Background="#FFFFE0C0"&amp;gt;
        &amp;lt;TextBlock x:Name="txtLatLong" HorizontalAlignment="Left" Margin="10,10,0,0" TextWrapping="Wrap" Text="Latitude_________________________________________Longitude" VerticalAlignment="Top" Width="480"/&amp;gt;
        &amp;lt;TextBox x:Name="inputLat" HorizontalAlignment="Left" Margin="10,42,0,0" TextWrapping="Wrap" Text="TextBox" VerticalAlignment="Top" Width="143"/&amp;gt;
        &amp;lt;TextBox x:Name="inputLon" HorizontalAlignment="Left" Margin="174,42,0,0" TextWrapping="Wrap" Text="TextBox" VerticalAlignment="Top" Width="136"/&amp;gt;
        &amp;lt;Button x:Name="btnPan" Content="Pan To" Click="pan_Click" HorizontalAlignment="Left" Margin="10,79,0,0" VerticalAlignment="Top" Width="134"/&amp;gt;
        &amp;lt;Button x:Name="btnDisplay" Content="Display" Click="display_ClickAsync" HorizontalAlignment="Left" Margin="190,79,0,0" VerticalAlignment="Top" Width="120"/&amp;gt;

    &amp;lt;/Grid&amp;gt;
&amp;lt;/Window&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;But you can see that if you click other button on the ribbon, they grey out:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Lat/Long interface w/greyed out buttons. :(" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/144715i62734E02DBD04E26/image-size/medium?v=v2&amp;amp;px=400" role="button" title="latlongissue.png" alt="Lat/Long interface w/greyed out buttons. :(" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Lat/Long interface w/greyed out buttons. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2025 23:05:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/only-one-tool-usable-at-a-time/m-p/1669939#M13289</guid>
      <dc:creator>RogerAsbury</dc:creator>
      <dc:date>2025-12-02T23:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: Only one tool usable at a time?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/only-one-tool-usable-at-a-time/m-p/1670038#M13290</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Your issue isn't in xaml. You open window as modal. Try open it as &lt;A href="https://learn.microsoft.com/en-us/dotnet/desktop/wpf/windows/dialog-boxes-overview#modeless-dialog:~:text=again%20later.%22)%3B%0A%7D-,Modeless%20dialog,-To%20show%20a" target="_self"&gt;modeless&lt;/A&gt;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;        private ProWindowMakeProFilters _prowindow = null;

        protected override void OnClick()
        {
            //already open?
            if (_prowindow != null)
                return;
            _prowindow = new ProWindowMakeProFilters();
            _prowindow.Owner = FrameworkApplication.Current.MainWindow;
            _prowindow.Closed += (o, e) =&amp;gt; { _prowindow = null; };
            _prowindow.Show();
            //uncomment for modal
            //_prowindow.ShowDialog();
        }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Dec 2025 07:07:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/only-one-tool-usable-at-a-time/m-p/1670038#M13290</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2025-12-03T07:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: Only one tool usable at a time?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/only-one-tool-usable-at-a-time/m-p/1670605#M13292</link>
      <description>&lt;P&gt;Thanks much! That did the trick.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Dec 2025 18:18:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/only-one-tool-usable-at-a-time/m-p/1670605#M13292</guid>
      <dc:creator>RogerAsbury</dc:creator>
      <dc:date>2025-12-04T18:18:16Z</dc:date>
    </item>
  </channel>
</rss>

