In principal, something like this (not sure what you wanted to do with the edit_box setup, so just focused on the list_box):
- test_dcl : dialog { label = "Lee Mac Modified"; spacer; : row { : boxed_column { label = "Image Slide"; : image { key = "sld"; height = 10; fixed_height = true; width = 30; fixed_width = true; color = 0; aspect_ratio = 1; is_enabled = false; is_tab_stop = false; } } : boxed_column { : list_box { key = "lst"; height = 7; fixed_height = true; width = 10; fixed_width = true; allow_accept = false; is_tab_stop = false; is_enabled = true; } } } ok_cancel;}
[code](defun c:test( / slide path dch lst ) (setq path "c:\\acad\\") (defun slide ( key file ) (if (setq file (findfile file)) (progn (start_image key) (slide_image 1 1 (- (dimx_tile key) 2) (- (dimy_tile key) 2) file) (end_image) ) ) ) (cond ( ( |