For htmlDialog, there are bring_to_front and show methods, but no bring_to_back or hide methods. How can I hide a htmlDialog, in order to make it shown later on.
That is true. But for example:
- You can use
:style => UI::HtmlDialog::STYLE_WINDOW
in #initialize method Options Hash (properties), so the HtmlDialog can go behind SketchUp “automatically” and doesn’t disappear when SketchUp looses focus. Then you can #bring_to_front when you want.
… and with (2) you must reattach any action callback blocks if you show the dialog object again.