关于窗体的属性?~ 怎么设置不能把窗体拖大,或缩小?还有不能移动 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 怎么控制不能移动我不会在form.OnResize事件中,写下:form1.width:=xxx;form1.height:=xxx;xxx数自己定 注意:如果把BordeStyle设置成bsNone,窗体将没有标题栏,啥也没有了! //不可移动!!!unit Unit1;interfaceuses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs;type TForm1 = class(TForm) private { Private declarations } protected procedure OnPosChange(var Msg: TWmWindowPosChanging); message WM_WINDOWPOSCHANGING; public { Public declarations } end;var Form1: TForm1;implementation{$R *.DFM}procedure TForm1.OnPosChange (var Msg: TWmWindowPosChanging);begin Msg.WindowPos.x := Left;//消息的WindowPos.x部分包含新窗体左边位置,将其改成原来窗体左边坐标//Left全写为Form1.Left Msg.WindowPos.y := Top;//消息的WindowPos.y部分包含新窗体顶部位置,将其改成原来窗体顶部坐标//Top全写为Form1.Top Msg.Result := 0;end;end. 告诉你一个最简单的:(--->不能把窗体拖大,或缩小?borderStyle-->bsSingle--->还有不能移动align-->alCustom 问一下,MOUSEUO事件不发生的原因,请教了 delphi 调用存储过程 请教:写了一个小程序,要用到事务回滚。谁能帮忙,谢谢!!! 高分求一个过程 想用一按钮单击,弹出查找对话框控件 combobox的使用问题:怎样让combobox具有WIN2000的运行框的自动下拉和模糊查询功能? Delphi 7中调用DsgnIntf时出错 搞不懂的错误!!!!!!!!!!! 用SQL如何来实现模糊查找!例:我输入'陈'找出'陈XX''陈XXXXX'等! DELPHI中的SQL问题! 怎样在memo中load入这个文件? 控件安装问题求助
form1.height:=xxx;xxx数自己定
//不可移动!!!unit Unit1;interfaceuses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs;type
TForm1 = class(TForm)
private
{ Private declarations }
protected
procedure OnPosChange(var Msg: TWmWindowPosChanging);
message WM_WINDOWPOSCHANGING; public
{ Public declarations }
end;var
Form1: TForm1;implementation{$R *.DFM}
procedure TForm1.OnPosChange (var Msg: TWmWindowPosChanging);
begin
Msg.WindowPos.x := Left;
//消息的WindowPos.x部分包含新窗体左边位置,将其改成原来窗体左边坐标
//Left全写为Form1.Left
Msg.WindowPos.y := Top;
//消息的WindowPos.y部分包含新窗体顶部位置,将其改成原来窗体顶部坐标
//Top全写为Form1.Top
Msg.Result := 0;
end;
end.
--->不能把窗体拖大,或缩小?
borderStyle-->bsSingle
--->还有不能移动
align-->alCustom