问个小问题
LISTBOX1.ITEMS.ADDOBJECT 怎么用?
我要写入,txt文件名和txt的具体路径,
需要调用具体路径,请大家解答一下
主要是文件路径的数据类型。
[解决办法]
TempPath := string(ListBox1.Object[0]); 取得第一个
TempPath := string(ListBox1.Object[1]); 取得第2个
TempPath := string(ListBox1.Object[2]); 取得第3个
TempPath := string(ListBox1.Object[3]); 取得第4个
。
。
。
。
诶。。。。。。。。。。。这样明白了吧~ 我写个I 只是为了通用,至于你想怎么调用 是你地事。。。。。。。
分析它的代码。大哥~