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,12 +10,12 @@ interface
|
||||
|
||||
uses
|
||||
Windows, SysUtils, Classes, Controls, Forms, StdCtrls, ComCtrls, Buttons, Dialogs, StdActns,
|
||||
VirtualTrees, ExtCtrls, Graphics, SynRegExpr, Math, Generics.Collections,
|
||||
VirtualTrees, ExtCtrls, Graphics, SynRegExpr, Math, Generics.Collections, extra_controls,
|
||||
dbconnection, helpers, Menus, gnugettext, DateUtils, System.Zip, System.UITypes;
|
||||
|
||||
type
|
||||
TToolMode = (tmMaintenance, tmFind, tmSQLExport, tmBulkTableEdit);
|
||||
TfrmTableTools = class(TForm)
|
||||
TfrmTableTools = class(TFormWithSizeGrip)
|
||||
btnCloseOrCancel: TButton;
|
||||
pnlTop: TPanel;
|
||||
TreeObjects: TVirtualStringTree;
|
||||
@ -221,7 +221,6 @@ begin
|
||||
comboExportOutputTarget.Text := '';
|
||||
|
||||
// Various
|
||||
SetWindowSizeGrip( Self.Handle, True );
|
||||
FixVT(TreeObjects);
|
||||
FixVT(ResultGrid);
|
||||
FResults := TObjectList<TStringList>.Create;
|
||||
|
Reference in New Issue
Block a user