sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🛣️ Road Profile Builder | Generate roads, curbs and pavements easily Download

    HtmlDialog position

    Scheduled Pinned Locked Moved Developers' Forum
    1 Posts 1 Posters 3.0k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • bomastudioB Offline
      bomastudio
      last edited by

      In a dual monitor config, how can I check in which monitor SU is running, so I can locate correctly a HTMLDialog?

      For example, immagine the following config:

      MONITOR 1 on right
      MONITOR 2 on left (where SU is running)

      and the following code

      
      dialog = UI;;HtmlDialog.new({
      			  ;dialog_title => "MyWindow",
      			  ;scrollable => true,
      			  ;resizable => true,
      			  ;width => 300,
      			  ;height => 250,
      			  ;left => 0,
      			  ;top =>0,
      			  ;style => UI;;HtmlDialog;;STYLE_UTILITY
      			})
      
      

      The dialog will apper outside from SU, in the MONITOR 1 instead of MONITOR 2 where is SU.

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      • First post
        Last post
      Buy SketchPlus
      Buy SUbD
      Buy WrapR
      Buy eBook
      Buy Modelur
      Buy Vertex Tools
      Buy SketchCuisine
      Buy FormFonts

      Advertisement