Location of Dialog Box

Discussion in 'AutoCAD' started by tmastin, Jul 23, 2003.

  1. tmastin

    tmastin Guest

    I would like to have the dialog box pop up somewhere other then the center of the screen. Is there a way to specify the pop up location?

    Thanks
     
    tmastin, Jul 23, 2003
    #1
  2. tmastin

    Rudy Tovar Guest

    Follow the path of the code, remember this is just so you can get the past
    point.

    ;Define the variable
    (if (= last_point nil)(setq last_point (list -1 -1)))

    ;Call the dialog
    (if (not (new_dialog "your_dcl" dcl_id "" last_point)) (exit))

    ;Set the last point
    (action_tile "ok" "(do_what_ever)(setq last_point (done_dialog 1))")

    --
    Rodolfo Tovar
    www.Cadentity.com
    AUTODESK
    Authorized Developer
    MASi
    Express U.........s...and then some...
    Version 2.01
    6 yrs Time Tested and it Works....
    Coming Soon.....


    I would like to have the dialog box pop up somewhere other then the center
    of the screen. Is there a way to specify the pop up location?
    Thanks
     
    Rudy Tovar, Jul 23, 2003
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.