mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-06 18:24:26 +08:00
Replace out-dated code which does not compile in 64bit mode in helpers.SetWindowSizeGrip. Use a TForm descendant in the new unit "extra_controls". Code parts taken from http://www.delphigroups.info/2/4/326787.html
This commit is contained in:
@ -4,11 +4,11 @@ unit copytable;
|
||||
interface
|
||||
|
||||
uses
|
||||
Windows, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls,
|
||||
Windows, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, extra_controls,
|
||||
dbconnection, VirtualTrees, SynEdit, SynMemo, Menus, gnugettext;
|
||||
|
||||
type
|
||||
TCopyTableForm = class(TForm)
|
||||
TCopyTableForm = class(TFormWithSizeGrip)
|
||||
editNewTablename: TEdit;
|
||||
lblNewTablename: TLabel;
|
||||
btnCancel: TButton;
|
||||
@ -71,7 +71,6 @@ begin
|
||||
InheritFont(Font);
|
||||
Width := AppSettings.ReadInt(asCopyTableWindowWidth);
|
||||
Height := AppSettings.ReadInt(asCopyTableWindowHeight);
|
||||
SetWindowSizeGrip(Handle, True);
|
||||
MainForm.SetupSynEditors;
|
||||
FixVT(TreeElements);
|
||||
FColumns := TTableColumnList.Create;
|
||||
|
Reference in New Issue
Block a user