2014年7月17日

Listbox中的item根据内容的不同而显示不同的颜色

摘要: //ListBox1 的 Style 属性改为 lbOwnerDrawVariable//在ListBox的OnDrawItem事件裡,根据item的值,改变Canvas属性procedure TForm1.ListBox1DrawItem(Control: TWinControl; Index: ... 阅读全文

posted @ 2014-07-17 09:39 evil39c 阅读(133) 评论(0) 推荐(0) 编辑

导航