dawan 发表于 2002-11-24 15:07:00

关于list_box

小弟有以下几个问题,请高手赐教
1. 如何在对话框的list_box中插入(在任一位置) 删除列表项
2. autolisp中怎样定义数组
3. 如何获取list_box当前列表项的内容
4. 怎样把list_box中的列表项赋给数组
5. 如何在.lsp中通过代码设置对话框中某个控件的属性

alin 发表于 2002-11-25 11:02:00

Get a book, read the docs...

1. Put your items in a list (not an array), such as
   (setq itemlst '("A" "B" "C"))
   Use (start_list) (add_list) and (end_list) to load it to the list_box.
   Add or remove the atoms in item list, then use (start_list), (add_list) and
   (end_list) to refresh the list_box.
2. Use list better
3. The last value of itemlst
4. Use list better
5. (Set_tile), (Mode_tile)
页: [1]
查看完整版本: 关于list_box