unit19.~pas

来自「用delphi实现的一个酒店管理系统框架」· ~PAS 代码 · 共 38 行

~PAS
38
字号
unit Unit19;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, Inherit, StdCtrls, Menus, ExtDlgs, ExtCtrls, RpDefine, RpRave,
  DB, ADODB, ImgList, ComCtrls, Grids, DBGrids, DBCtrls, ToolWin;

type
  TTInherit19 = class(TTInherit)
    Button1: TButton;
    Button2: TButton;
    GroupBox1: TGroupBox;
    procedure FormResize(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  TInherit19: TTInherit19;

implementation

{$R *.dfm}

procedure TTInherit19.FormResize(Sender: TObject);
begin
  inherited;
   groupbox1.Top:=dbgrid1.Top;
groupbox1.Left:=dbgrid1.Left+dbgrid1.Width-groupbox1.Width;
dbgrid1.Width:=dbgrid1.Width-groupbox1.Width-5;
end;

end.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?