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,10 +4,10 @@ interface
|
||||
|
||||
uses
|
||||
Windows, Classes, Controls, Forms, StdCtrls, CheckLst, ExtCtrls,
|
||||
helpers, gnugettext;
|
||||
helpers, gnugettext, extra_controls;
|
||||
|
||||
type
|
||||
TColumnSelectionForm = class(TForm)
|
||||
TColumnSelectionForm = class(TFormWithSizeGrip)
|
||||
btnCancel: TButton;
|
||||
btnOK: TButton;
|
||||
chkSelectAll: TCheckBox;
|
||||
@ -45,7 +45,6 @@ procedure TColumnSelectionForm.FormCreate(Sender: TObject);
|
||||
begin
|
||||
InheritFont(Font);
|
||||
TranslateComponent(Self);
|
||||
SetWindowSizeGrip(Self.Handle, True);
|
||||
Width := AppSettings.ReadInt(asColumnSelectorWidth);
|
||||
Height := AppSettings.ReadInt(asColumnSelectorHeight);
|
||||
end;
|
||||
|
Reference in New Issue
Block a user