- 博客(2)
- 收藏
- 关注
原创 Delphi颜色的表示
//全以红色举例://1. RGB 模式:Self.Color := $0000ff; //不过和HTML、PhotoShop、FireWorks中的 #ff0000 是完全反的,应该叫 BGR。//2. RGB 分值,譬如:Self.Color := RGB(255,0,0);//3. Delphi 中的标准模式:Self.Color := $000000ff;//其中低3位字节
2009-08-31 18:02:00 3176
原创 不规则窗体小技巧
1.移动没有标题栏的窗体 在任何控件的OnMouseDown事件中加入以下代码: if (Button = mbLeft) then begin ReleaseCapture; Self.Perform(WM_SYSCOMMAND, $F012, 0); end; 2.创建圆角矩形窗体 procedure TForm1.F
2009-08-31 17:52:00 667
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人