随笔 - 807  文章 - 0 评论 - 43 阅读 - 57万

随笔分类 -  TListView

ListView 判断有没有选中的行方法
摘要:ListView1.SelCount 返回选中行的行数 应该是 没有测试 但是测试了 如果没有选中行 返回0 如果选中一行了 返回1 阅读全文
posted @ 2013-09-15 11:42 del88 阅读(23) 评论(0) 推荐(0) 编辑
ListView改变行高的技巧
摘要:改变 ListView 的行高 (Line Height) (cjc,2009.6.2) 改变 ListView 的行高 (Line Height) (cjc,2009.6.2) ListView在Report模式下,行与行间隔较窄,以下方法在不更换字体的情况下,改变行高,使看起来宽松一点。 1. 阅读全文
posted @ 2013-09-08 21:26 del88 阅读(226) 评论(0) 推荐(0) 编辑
ListView基本用法大全
摘要:Delphi ListView基本用法大全 //增加项或列(字段) ListView1.Clear; ListView1.Columns.Clear; ListView1.Columns.Add; ListView1.Columns.Add; ListView1.Columns.Add; ListV 阅读全文
posted @ 2012-12-24 23:43 del88 阅读(13) 评论(0) 推荐(0) 编辑
TListView列居中显示
摘要:procedure TfrmServerTopLogisticsCompany.FormShow(Sender: TObject); var I: Integer; begin for I := 0 to ListView1.Columns.Count-1 do begin ListView1.Co 阅读全文
posted @ 2012-12-24 16:02 del88 阅读(6) 评论(0) 推荐(0) 编辑
ListView常用
摘要:ListView1.Items 为标准 Tlistitems类 ListView1.Items (1)赋值 with ListView1.Items.Add do begin Caption:=caption; //添加第一项 SubItems.add(aaaaa); //添加后面数据 SubIte 阅读全文
posted @ 2011-11-25 11:02 del88 阅读(7) 评论(0) 推荐(0) 编辑
初认识ListView
摘要:ListView组件位于组件板的Win32页,可用4种图形方式(大图标、小图标、列表、详细列表)来描述选项内容,类似于Windows操作系统中的“我的电脑”,数据项图形保存在ImageList组件中。 1.ListView主要属性 (1)ViewStyle属性 ViewStyle属性用于选择数据项的 阅读全文
posted @ 2011-11-24 23:38 del88 阅读(8) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示