TControl
cmx8818
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
TListBox的item项的Data关联及调用
I have one record type. I want to add the variable of that record type in TListbox and retrieve it on click event of TListbox. Is it possible? If yes then how?I added it usinglstbox.AddItem(data转载 2015-12-20 16:25:13 · 758 阅读 · 0 评论 -
TListbox中的item根据内容显示不同颜色的方法
ListBox1 的 Style 属性改为 lbOwnerDrawVariable在ListBox的OnDrawItem事件裡,根据item的值,改变Canvas属性procedure TForm2.ListBox1DrawItem(Control: TWinControl; Index: integer; Rect: TRect; State: TOwnerDrawState);v转载 2015-12-20 16:34:48 · 578 阅读 · 0 评论 -
listbox和comebox添加图片
unit U0012;interfaceuses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Gauges, ComCtrls, Menus;type TForm1 = class(TForm) ListBox1: TListBox;转载 2015-12-20 18:02:37 · 1149 阅读 · 0 评论 -
TListBox的Item改变高度
TListBox.Stye := lbOwnerDrawVariableprocedure TForm2.ListBox1MeasureItem(Control: TWinControl; Index: integer; var Height: integer);begin if Index mod 2 = 0 then Height := 30 else Hei原创 2015-12-20 16:37:44 · 1139 阅读 · 0 评论 -
TStringList 的使用方法详解
原文地址:http://blog.youkuaiyun.com/penjie0418/article/details/7182589TStringList 的使用方法详解var List: TStringList; i: Integer;begin List := TStringList.Create; List.Add('Strings1'); {转载 2016-02-02 09:52:25 · 835 阅读 · 0 评论 -
delphi中Message消息的使用方法
实例1 unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; constWM_ME=WM_USER+100; //自定义消息; type TForm1 = class(TFo转载 2016-02-16 13:17:00 · 411 阅读 · 0 评论 -
How to unzip or zip files content
http://synopse.info/forum/viewtopic.php?id=48转载 2016-05-10 11:54:45 · 942 阅读 · 0 评论 -
FTP主动模式和被动模式的比较
总是记不住FTP主动和被动模式的区别。放在这里,以备日后查阅。FTP是仅基于TCP的服务,不支持UDP。与众不同的是FTP使用2个端口,一个数据端口和一个命令端口(也可叫做控制端口)。通常来说这两个端口是21(命令端口)和20(数据端口)。但FTP工作方式的不同,数据端口并不总是20。这就是主动与被动FTP的最大不同之处。 (一)主动FTP转载 2016-08-22 08:36:19 · 410 阅读 · 0 评论
分享