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:
@ -10,11 +10,11 @@ interface
|
||||
|
||||
uses
|
||||
Windows, SysUtils, Classes, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, ComCtrls,
|
||||
VirtualTrees, Menus, Graphics, Generics.Collections, ActiveX,
|
||||
VirtualTrees, Menus, Graphics, Generics.Collections, ActiveX, extra_controls,
|
||||
dbconnection, gnugettext;
|
||||
|
||||
type
|
||||
Tconnform = class(TForm)
|
||||
Tconnform = class(TFormWithSizeGrip)
|
||||
btnCancel: TButton;
|
||||
btnOpen: TButton;
|
||||
btnSave: TButton;
|
||||
@ -178,7 +178,6 @@ begin
|
||||
// Fix GUI stuff
|
||||
TranslateComponent(Self);
|
||||
InheritFont(Font);
|
||||
SetWindowSizeGrip(Handle, True);
|
||||
Width := AppSettings.ReadInt(asSessionManagerWindowWidth);
|
||||
Height := AppSettings.ReadInt(asSessionManagerWindowHeight);
|
||||
ListSessions.Width := AppSettings.ReadInt(asSessionManagerListWidth);
|
||||
|
Reference in New Issue
Block a user