DCL help...

Discussion in 'AutoCAD' started by aaron weissner, Apr 21, 2004.

  1. i am writing some new dialog boxes for some new lisp routines i am
    writing... i cannot find any documentation on making radio_buttons
    unselectable based on another selection in the dialog box... for example...
    dialog asks for imperial or metric... if imperial is selected only 1'-2"
    radio_button is selectable, if metric is selected only 200mm is
    selectable... by default imperial would have a value = 1...

    TIA
    aw
     
    aaron weissner, Apr 21, 2004
    #1
  2. aaron weissner

    Josh Guest

    Look into mode_tile
     
    Josh, Apr 21, 2004
    #2
  3. aaron weissner

    ECCAD Guest

    Aaron,
    Sampler:

    ;; Toggle Radio Buttons
    ;; - fragment from (defun reset_dialog ()
    ;;
    (if (= metric 1)
    (progn
    (set_tile "metric" "1")
    (set_tile "english" "0")
    ); end progn
    ); end if
    (if (or (= metric nil)(= metric 0))
    (progn
    (set_tile "metric" "0")
    (set_tile "english" "1")
    ); end progn
    ); end if

    Bob
     
    ECCAD, Apr 21, 2004
    #3
  4. so i would do it in the lisp file not the dcl file...
     
    aaron weissner, Apr 22, 2004
    #4
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.