Setting a popup tile to a specific value?

Discussion in 'AutoCAD' started by Timothy Spangler, Aug 21, 2003.

  1. I want to set some popup tiles to specific values that are retrieved from
    the reg. I get the list together and then the popups are filled but they
    are filled with the first value in the list. I want to set them to the last
    value that they held how do I go about this?

    --
    _________________________________
    Timothy Spangler

    "You cannot escape the responsibility of tomorrow by evading it today"
    Abraham Lincoln
    _________________________________

    AutoCAD 2002
    WinXP Pro
    Compaq Evo W6000
    Intel Xeon / 1G RAM
     
    Timothy Spangler, Aug 21, 2003
    #1
  2. Timothy Spangler

    BillZ Guest

    A popup will take any list of strings you set it to.
    (start_list "your_popup")
    (mapcar 'add_list your_list)
    (end_list)



    Bill
     
    BillZ, Aug 21, 2003
    #2
  3. I got that but know say I want to set the tile to say the 2 item in the list how do I go about that?  I tried (set_tile tile value) But it doesn't seem to work or maybe I have it in the wrong place?




    --
    _________________________________
    Timothy Spangler



     



    "You cannot escape the responsibility of tomorrow by evading it today"
    Abraham Lincoln
    _________________________________



     



    AutoCAD 2002
    WinXP
    Compaq Evo W6000
    Intel Xeon / 1G RAM



    "BillZ" <> wrote in message news:...

    A popup will take any list of strings you set it to.
    (start_list "your_popup")
    (mapcar 'add_list your_list)
    (end_list)



    Bill
     
    Timothy Spangler, Aug 21, 2003
    #3
  4. Timothy Spangler

    BillZ Guest

    (set_tile "tile" (itoa 2))
     
    BillZ, Aug 21, 2003
    #4
  5. Timothy Spangler

    BillZ Guest

    And if you have an item from the list set to a variable...
    (set_tile "tile" (itoa (- (length string_list)(length (member string_var string_list)))))
    ....will highlight the tile to the correct item. Bill
     
    BillZ, Aug 21, 2003
    #5
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.