Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    History support and SC.xxx

    Hi,
    I just finished implementing a basic history change in my application, All my windows register themselves and are closed when a change occurs, my problem is that the dialogs opened with SC.say, confirm, etc, are not closed and i didnt find a way to retrieve them to destroy them myself.

    When navigating thru the showcase, i manage to open a SC.say window and pressed the bask button, the dialog stayed open.

    Thank

    Richard

    #2
    Found it:

    Canvas message = Canvas.getById("isc_globalWarn_body");
    if (message != null) {
    Canvas parent = message.getParentElement();
    parent.hide();
    }

    Comment

    Working...
    X