Hi Guys,
I recently found out an issue on the openitemdialog, saveitemdialog in ArcGIS pro.
The issue occurred when user suddenly switch back and use the ArcGIS pro from big screen (32 inch, high resolution external monitor ) to 12 inch monitor (laptop).
Those dialog windows open and display below the taskbar, at around bottom 50 pixel of the monitor. (This affect open project dialog as well)
Is there any way to force and launch those dialog to the centre of the screen?
OpenItemDialog addToMapDialog <SPAN class="operator token">=</SPAN> <SPAN class="keyword token">new</SPAN> <SPAN class="token class-name">OpenItemDialog</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="punctuation token">)</SPAN>
<SPAN class="punctuation token">{</SPAN>
Title <SPAN class="operator token">=</SPAN> <SPAN class="string token">"Select a text file"</SPAN><SPAN class="punctuation token">,</SPAN>
MultiSelect <SPAN class="operator token">=</SPAN> <SPAN class="keyword token">false</SPAN><SPAN class="punctuation token">,</SPAN>
BrowseFilter <SPAN class="operator token">=</SPAN> textFilter <SPAN class="comment token">//or use defaultFilter or contentFilter...</SPAN>
<SPAN class="punctuation token">}</SPAN><SPAN class="punctuation token">;</SPAN>
<SPAN class="keyword token">if</SPAN> <SPAN class="punctuation token">(</SPAN>addToMapDialog<SPAN class="punctuation token">.</SPAN><SPAN class="token function">ShowDialog</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="punctuation token">)</SPAN> <SPAN class="operator token">==</SPAN> <SPAN class="keyword token">true</SPAN><SPAN class="punctuation token">)</SPAN> <SPAN class="comment token">//showdialog to center?</SPAN>
<SPAN class="punctuation token">{</SPAN>
<SPAN class="punctuation token">}</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>