unload/load dialog via button

Discussion in 'AutoCAD' started by crrussell3, Apr 12, 2004.

  1. crrussell3

    crrussell3 Guest

    Yes,
    I am wondering how would I unload a dialog box and load a new one by using an action_tile button? The old one will not need to be called back.

    TIA,
    Craig
     
    crrussell3, Apr 12, 2004
    #1
  2. Something like this.

    (action_tile "tile_name" "(done_dialog 2)")
    (setq done (stat_dialog))
    (unload_dialog dcl_id)
    (cond
    ((= done 0)
    (princ "\nCancel Pressed"))
    ((= done 1)
    (princ "\nOK Pressed")
    )
    ((= done 2)
    (next_dialog)
    )
    )

    (defun next_dialog ()
    ;;start next dialog
    )




    --
    Ken Alexander
    Acad2004
    Windows XP

    "We can't solve problems by using the same kind
    of thinking we used when we created them."
    --Albert Einstein

    using an action_tile button? The old one will not need to be called
    back.
     
    Ken Alexander, Apr 12, 2004
    #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.