Setting DCL tile label from lisp

Discussion in 'AutoCAD' started by Kevin Nehls, Jul 9, 2003.

  1. Kevin Nehls

    Kevin Nehls Guest

    Can the label of a DCL tile be set from lisp or does it have to be hard
    coded in the DCL file?
     
    Kevin Nehls, Jul 9, 2003
    #1
  2. Kevin Nehls

    Kevin Nehls Guest

    Yeah, I shoulda searched ;) I thought that would be the answer. I'll try
    to do a little more digging to see if more info has been posted.

    Basically I want to see how easy it would be to make an app in lisp and dcl
    for multiple languages. Might need to look more into VBA though. It would
    be a good starter for me though.

    Thanks,
    Kevin
     
    Kevin Nehls, Jul 9, 2003
    #2
  3. Kevin Nehls

    R.K. McSwain Guest

    No you don't. Just set the key for the dialog in your lisp routine.
     
    R.K. McSwain, Jul 10, 2003
    #3
  4. Kevin Nehls

    Kevin Nehls Guest

    That's great for buttons and such, but I'd like to be able to change the
    label for tag as well. For instance the dialog, boxed_column,
    boxed_row, etc tiles. AFAIK, those do not have key attributes and just
    have a label.

    Can the key attribute be used for those instead of a label?
     
    Kevin Nehls, Jul 10, 2003
    #4
  5. Kevin Nehls

    BillZ Guest

    What I have done is set a edit box tile label = "" in the DCL file and using a row, add a text tile with a key and label = "", the text tile can then be set in the lisp with (set_tile "key" "mytext") which appears to be the label of the edit box tile.

    Bill
     
    BillZ, Jul 10, 2003
    #5
  6. Kevin Nehls

    Kevin Nehls Guest

    Very cool. I'll give that a try. Thanks Bill

    Kevin
     
    Kevin Nehls, Jul 10, 2003
    #6
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.