本文整理自网络,侵删。
Var
CRect:TRect;
Width,Height:integer;
Begin
CRect:=Rect(10,10,50,60);
Width:=WidthOf(CRect);//取宽度
Height:=HeighthOf(CRect);//取高度
End;
相关阅读 >>
Delphi winapi: getfocus - 获取当前拥有焦点的窗口的句柄
更多相关阅读请进入《Delphi》频道 >>
本文整理自网络,侵删。
Var
CRect:TRect;
Width,Height:integer;
Begin
CRect:=Rect(10,10,50,60);
Width:=WidthOf(CRect);//取宽度
Height:=HeighthOf(CRect);//取高度
End;
相关阅读 >>
Delphi winapi: getfocus - 获取当前拥有焦点的窗口的句柄
更多相关阅读请进入《Delphi》频道 >>
管理员已关闭评论功能...