Cancel
Showing results for 
Search instead for 
Did you mean: 

opening a second or sub-dialog and returning to the first dialog

Solution Partner Experimenter Solution Partner Experimenter
Solution Partner Experimenter

Hi,

 

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.

 

Additional info:

Block = UI.GetUI().CreateDialog(DlxFileName);

TopBlock = Block.TopBlock

2 REPLIES

Re: opening a second or sub-dialog and returning to the first dialog

Siemens Phenom Siemens Phenom
Siemens Phenom

 

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.

 

Regards,

 

Steve

 

Re: opening a second or sub-dialog and returning to the first dialog

Solution Partner Experimenter Solution Partner Experimenter
Solution Partner Experimenter

Thanks, I'm actually opening the second dialog from a select event from a tree.
I guess I will go for another solution.