Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

select/highlight all items in a list_box

4 REPLIES 4
Reply
Message 1 of 5
southie
271 Views, 4 Replies

select/highlight all items in a list_box

Hi All

 

How can i select/highlight all items in a Multi_select list_box?  Thanks

 

Southie

 

 

4 REPLIES 4
Message 2 of 5
southie
in reply to: southie

Found this.

 

defun select_all_from (list_box alist / index)
  (setq index 0)
  (repeat (length alist)
    (set_tile list_box (itoa index))
    (setq index (1+ index))
  )
  (princ)
)

Message 3 of 5
_Tharwat
in reply to: southie

Hi.

 

If you are talking about List_box in Dialog box , you can use this attribute to have this option on into your dialogue box.

 

multiple_select = true;

 Tharwat

Message 4 of 5
southie
in reply to: southie

Thx for reply T.  My intent is to have a radio_button action that will select/highlight all items in list_box if button is activated.  list_box is multi_select.

Message 5 of 5
scot-65
in reply to: southie

(action_tile "Rad001" "(mode_tile \"LIS001\" 2)")

 

I do not think mode tile 3 will work as this is for edit boxes.

 

???


Scot-65
A gift of extraordinary Common Sense does not require an Acronym Suffix to be added to my given name.


Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost