vb2005 Listbox問題

2007-12-02 10:03 am
係listbox點樣可以加d column,分開一格格

回答 (1)

2007-12-03 1:03 am
✔ 最佳答案
不可。
要加column,可以用ListView,將ListView個View屬性改做Details就ok,用ListView.columns.add(String)
(add Method有好多overloads,詳情可參見:http://msdn2.microsoft.com/en-us/library/system.windows.forms.listview.columnheadercollection.add(VS.80).aspx)

(Overview of ListView:http://msdn2.microsoft.com/en-us/library/system.windows.forms.listview(VS.80).aspx)
(Properties of ListView:http://msdn2.microsoft.com/en-us/library/system.windows.forms.listview_properties(VS.80).aspx)
參考: MSDN


收錄日期: 2021-04-13 14:37:24
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20071202000051KK00422

檢視 Wayback Machine 備份