Identify Tile

Discussion in 'AutoCAD' started by Scrutch, Jun 2, 2004.

  1. Scrutch

    Scrutch Guest

    Help...

    I'm looking for someway to find if a radio button has been clicked, either by the user or the default setting of the routine.

    So, what I need would be like these two radio columns with the x representing marked and the o as unmarked:
    rb1a..o.................rb1b..o
    rb2a..o.................rb2b..o
    rb3a..x.................rb3b..o
    rb4a..o.................rb4b..o
    rb5a..o.................rb5b..x
    (setq ans1a (*is rb1a marked?*))
    (setq ans3a (*is rb3a marked?*))
    ans1a = no................ans3a = yes
    ans2b = no................ans5b = yes
    etc...

    I would like to thank all those that respond so quickly to all of the questions that are addressed here.

    Scrutch
     
    Scrutch, Jun 2, 2004
    #1
  2. The action-tile is used to run a subroutine when a button, textbox, etc is
    activated by the user

    ;example of subroutine to run when button selected
    (defun RB1A_selected (RBreason /)
    (if (= RBreason "1")
    (setq AN1A "YES")
    )
    )
    ....main program
    (action_tile "RB1A" (RB1A_selected $reason))


    by the user or the default setting of the routine.
    representing marked and the o as unmarked:
    questions that are addressed here.
     
    Alan Henderson @ A'cad Solutions, Jun 2, 2004
    #2
  3. Scrutch

    Scrutch Guest

    Cool...
    Thanks ever so much.

    Scrutch
     
    Scrutch, Jun 2, 2004
    #3
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.