惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

J
Java Code Geeks
G
Google Developers Blog
有赞技术团队
有赞技术团队
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Blog — PlanetScale
Blog — PlanetScale
罗磊的独立博客
博客园 - 聂微东
V
Visual Studio Blog
博客园_首页
D
DataBreaches.Net
腾讯CDC
I
InfoQ
F
Fortinet All Blogs
量子位
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 【当耐特】
Google DeepMind News
Google DeepMind News
人人都是产品经理
人人都是产品经理
云风的 BLOG
云风的 BLOG
月光博客
月光博客
Recent Announcements
Recent Announcements
MongoDB | Blog
MongoDB | Blog
C
Check Point Blog

博客园 - 龙少爷

将博客搬至CSDN 偶遇 Lc.exe已退出代码为-1 安装CentOS时,显示 NET:Registered protocol family 2 Nunit2.6.2调试.net4类库 清除SqlServer2008的日志 DomainDataSource的自动刷新 使用WCF RIA服务支持ASP.NET验证 使用dataInput:DescriptionViewer对输入的数据进行校验 android程序连接后端web service时,提示:Permission denied 设置XP系统的自动登录 chrome浏览器的迅雷插件 cmd中更换用户权限 使用WCF Ria取得子表的数据,一直为null SilverLight中使用WCF Ria出现的问题empty domain service class linq的表关系解决办法 在Java中使用Hibernate,使用不同数据库服务名 将固定字符分隔的内容转换为数组 Flex中TabBar与ViewStack 使用ApdComPort
拖动控件
龙少爷 · 2011-03-04 · via 博客园 - 龙少爷

拖动控件

procedure TForm1.btn1MouseDown(Sender: TObject; Button: TMouseButton;
  Shift: TShiftState; X, Y: Integer);
const
    sc_DragMove   =   $f012;
begin
    ReleaseCapture;
    TM2Button(Sender).Perform(WM_SysCommand,   sc_DragMove,   0);
end;

posted on 2011-03-04 11:14  龙少爷  阅读(190)  评论(0)    收藏  举报