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,7 +4,7 @@ interface
|
||||
|
||||
uses
|
||||
Windows, Messages, SysUtils, Classes, Controls, Forms, Dialogs, StdCtrls,
|
||||
ShellApi, Math, Graphics, ComCtrls, ToolWin,
|
||||
ShellApi, Math, Graphics, ComCtrls, ToolWin, extra_controls,
|
||||
dbconnection, mysql_structures, VirtualTrees, grideditlinks, SynRegExpr, gnugettext, helpers;
|
||||
|
||||
type
|
||||
@ -25,7 +25,7 @@ type
|
||||
end;
|
||||
PFileInfo = ^TFileInfo;
|
||||
|
||||
TfrmInsertFiles = class(TForm)
|
||||
TfrmInsertFiles = class(TFormWithSizeGrip)
|
||||
btnInsert: TButton;
|
||||
btnCancel: TButton;
|
||||
OpenDialog: TOpenDialog;
|
||||
@ -119,7 +119,6 @@ begin
|
||||
TranslateComponent(Self);
|
||||
ListFiles.Images := GetSystemImageList;
|
||||
DragAcceptFiles(Handle, True);
|
||||
SetWindowSizeGrip(Self.Handle, True);
|
||||
InheritFont(Font);
|
||||
MainForm.RestoreListSetup(ListColumns);
|
||||
MainForm.RestoreListSetup(ListFiles);
|
||||
|
Reference in New Issue
Block a user