laptop and a wrench

Bogue

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

Dernière publication: August 19, 2020 ArcGIS for Desktop
Numéro d’ID de bogue NIM077864
EnvoiFebruary 4, 2012
Dernière modificationJune 5, 2024
S’applique àArcGIS for Desktop
Version trouvée10.0
Langue du programmeC#
Système d’exploitationWindows OS
Version du système d’exploitationXP
StatutWill Not Be Addressed

Informations supplémentaires

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.

Solution de contournement

//// *** 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); //}

Étapes pour reproduire

ID de bogue: NIM077864

Logiciel:

  • ArcGIS for Desktop

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement