Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: Providing loading feedback to users in 6.2

  1. #11
    Lianja MVP
    Join Date
    Feb 2012
    Location
    Berea, KY, USA
    Posts
    2,075
    Understood.

    Hank

  2. #12
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    6,277
    You can of course slide a dialog panel across the viewport.

    Lianja.showDialogPanel("", "https://www.lianja.com", "100%", "", "", undefined, undefined, true, "")

    then hide it in your "afterrefresh" delegate.

    Lianja.hideDialogPanel();

    and in 6.2.1 I've added

    myform = Lianja.showDialogForm("", "https://www.lianja.com")

    the code of which looks like this.

    Code:
    function showDialogForm(title, url) {
        var oform = Lianja.createObject("form");
        oform.width = "100%";
        oform.height = "100%";
        if (typeof title === 'undefined') title = "";
        oform.caption = title;
        oform.addObject("owebview", "webview");
        owebview.url = url;
        oform.show();
        return oform;
    };
    and in your "afterrefresh" delegate

    Code:
    myform.close();
    Last edited by barrymavin; 2021-07-19 at 08:34.
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Journey into the Cloud
Join us