Async dialog closes itself

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 12/03/2011 at 01:31, xxxxxxxx wrote:

Hi there,

My Async dialof closes itself as it opens. It does only stay opened if an error is thrown in the Dialog class.
Any idea ?

cheers, nux

//edit:

Seems like the dialog variable has to be part of the commanddata class.
It opens now.

But when I now open it up again, it, well .. Watch it: 😂

Video on screenr.com

//edit:

Okei, got it. One must call the dlg.Restore() in the RestoreLayout() of the commanddata.

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 12/03/2011 at 11:24, xxxxxxxx wrote:

Do you use asynchronous dialogs in scripts or only in plugins?

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 12/03/2011 at 13:28, xxxxxxxx wrote:

Actually both.
I opened this thread while testing it in script, then i chaged to Plugin.

Niklas