- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
When calling Selection.Pickobjects the Finish and cancel buttons are missing from the options bar.
This is occurring when making the call from a modeless dialog, meaning after the command class execution method has finished and the dialog has displayed. When clicking a button to invoke the selection method the options bar does not display.
Has anyone else seen this?
It's behaving as if the options bar doesn't display outside of the command context.
The basic steps to reproduce would be to show a simple MODELESS dialog with a button that invokes UiDocument.Selection.PickObjects() and see if the buttons are there.
In my view model in 2023/2024 I'm able to fire the selection method and the buttons show. In 2025 they do not. I've tried using an external event as well but it does not work.
We use this programming pattern many places in our codebase and this will be rather unfortunate if there has been a change to the API and the behavior of the options bar in 2025
Solved! Go to Solution.