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

随笔分类 -  TCheckListBox

TCheckListBox用法(网上摘抄,挺不错)
摘要:在Delphi中checklistbox中高亮选中(不论是否Checked)能够进行操作么?删除,上下移动等等 删除:CheckListBox.DeleteSelected; 上下移: CheckListBox.Items.Move 删除用 CheckListBox1.Items.Delete(In 阅读全文
posted @ 2012-12-29 14:01 del88 阅读(12) 评论(0) 推荐(0) 编辑
checklistbox 显示多列
摘要: 阅读全文
posted @ 2012-05-23 17:24 del88 阅读(11) 评论(0) 推荐(0) 编辑
CheckListBox1 取值
摘要:vari:integer;beginChecklistbox1.MultiSelect:=True;for i:=0 to checklistbox1.Items.Count-1 doCheckListBox1.Checked[i] := True;//删除选中记录for i:=CheckListB 阅读全文
posted @ 2011-12-12 15:09 del88 阅读(22) 评论(0) 推荐(0) 编辑
checklistbox1--小梨子
摘要:procedure TForm1.SpeedButton2Click(Sender: TObject);var i:integer;beginfor i :=0 to checklistbox1.Items.count-1 dobegin checklistbox1.Checked[i] := tr 阅读全文
posted @ 2011-12-10 15:55 del88 阅读(9) 评论(0) 推荐(0) 编辑
CheckListBox1
摘要:{动态获取选项} for i:=0 to CheckListBox1.Count-1 do begin if CheckListBox1.State[i]=cbChecked then //do something; end; 阅读全文
posted @ 2011-12-10 15:29 del88 阅读(10) 评论(0) 推荐(0) 编辑
循环逐个获取groupbox中的checkbox的属性(groupbox中有多个checkbox)
摘要:这个搜索 花的时间 最长 整个CSDN就这两篇 记住了哦 http://topic.csdn.net/u/20080506/10/DC9F7C54-E2FC-40EC-B5AD-8E6B95445FE5.html http://topic.csdn.net/u/20081204/11/B418BC5 阅读全文
posted @ 2011-12-07 18:30 del88 阅读(43) 评论(0) 推荐(0) 编辑

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