AnsweredAssumed Answered

What triggers EditOperation.ShowProgressor

Question asked by bulla_b on Jul 24, 2019
Latest reply on Jul 24, 2019 by sean_jones-esristaff



I've added .ShowProgressor = true to my EditOperation, but I'm just wondering what exactly needs to get triggered for it to appear.


In my code, I am looping though bunch of selected features, and doing a chainedEdit operation.  The progressDialog never shows though the entire process.  Occasionally I do get a "Performing Edits" window message pop-up, but I'm assuming that is just a standard ArcPro message that I am seeing.  It shows up for a few seconds, then disappears perhaps showing up again if a lot of features were selected.


How do I get the Progressor to show and stay on the screen until finished?


                    var editOperation = new ArcGIS.Desktop.Editing.EditOperation();
                    editOperation.Name = "Create new Facility IDs";
                    editOperation.ProgressMessage = "Calculating FacilityID's...";
                    editOperation.ShowProgressor = true;                   
                    editOperation.CancelMessage = "Operation Cancelled";
                    editOperation.ErrorMessage = "Error Updating Attributes";
                    editOperation.EditOperationType = ArcGIS.Desktop.Editing.EditOperationType.Long;