I have an open dialog and want to open another one, let the user do some settings and return to the main dialog. I got it working so far:
- open the sub-dialog (main dialog will be invisible)
- user closes sub-dialog via ok/cancel
- retrieve settings from sub-dialog
But I cant get the main dialog to show up again. I tried TopBlock.Show = true and TopBlock.Focus(). NX behaves like the dialog is open, but it won't show...
If I try Block.Show() it opens a new dialog, which I don't want.
Block = UI.GetUI().CreateDialog(DlxFileName);
TopBlock = Block.TopBlock
Good morning. If you launch your second dialog from the update_cb for an action button, it should work.
If you are launching it from some other kind of dialog item, it might not work. We have a PR submitted to development for this issue.
Thanks, I'm actually opening the second dialog from a select event from a tree.
I guess I will go for another solution.