Delphi 获取ListBox1多选的值


本文整理自网络,侵删。

 


var
i:integer;
begin
for I := 0 to ListBox1.Items.Count-1 do
begin
if ListBox1.Selected[I] then 
begin
Memo2.Lines.Add(ListBox1.Items.Strings[I]);
end;
end;

相关阅读 >>

Delphi stopprocess 进程关闭函数

Delphi 检测程序有没有被dll注入的代码

Delphi tdsauthenticationmanager的用法

Delphi研究之驱动开发篇(四)--使用系统内存堆

Delphi 加密解密字符串函数

Delphi 实现php的urlencode编码效果

Delphi中怎样得到系统当前“输入法”名称?

Delphi 转换swf到exe

Delphi控制台程序怎么清屏

devexpress vcl 动态调用皮肤

更多相关阅读请进入《Delphi》频道 >>



打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...