laptop and a wrench

Bug

OnSelChange() of the Add-in Combox behaves differently with Process.Start(filePathString) vs Process.Start(URL) and Form.Show vs Form.ShowDialog

Zuletzt veröffentlicht: August 19, 2020 ArcGIS for Desktop
Bug-ID-Nummer NIM077864
EingereichtFebruary 4, 2012
Zuletzt geändertJune 5, 2024
Gilt fürArcGIS for Desktop
Gefunden in Version10.0
ProgrammspracheC#
BetriebssystemWindows OS
BetriebssystemversionXP
StatusWill Not Be Addressed

Zusätzliche Informationen

We apologize that we were unable to address this issue within the current product support cycle.  If the issue continues to affect your work in a supported release, please contact Technical Support.

Workaround

//// *** Workaround provided to customer *** //// Clear the ComboBox items and re-add them using same logic as in the constructor //// This worksaround the issue involving the Process.Start with PDFs/documents and with the Form.Show() method. //// Consider an If Statement to only do this with problematic menu items by setting a variable like strSelectedItem //// inside each Case statement or simply do this all the time just to be consistent. //// After below code executes, the hint text will display again for the 2 problematic menu items. //Uncomment the statements below: //this.Clear(); //string[] serviceLinks = //{ // "Test PDF", "URL 01", ".Show()", "Messagebox", ".ShowDialog()" //}; //foreach (string currLink in serviceLinks) //{ // Add(currLink); //}

Schritte zur Reproduzierung

Bug-ID: NIM077864

Software:

  • ArcGIS for Desktop

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln