Get correct coordinates/size of webdialog

  1. 7 weeks ago
    Edited 7 weeks ago

    Hi,
    Trying to get correct left,top,weight, height of a webdialog:palette and save to cookies. But without getting an error the numbers are not correctly and can’t keep its size position. I use me.left, me.top etc to save cookies... Any help on it? ...
    the
    theLeft = webdialog.page.left
    does not work, i think...

  2. Correction: I mean of an instance of a webdialog class on a webpage.

  3. Dean D

    Aug 3 Pre-Release Testers, Xojo Pro Santa Ynez California

    theLeft = webdialog.page.left

    Your code would get the Left for the page that holds the webdialog

    Try
    theLeft = webdialog.left

or Sign Up to reply!