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,12 +4,12 @@ interface
|
||||
|
||||
uses
|
||||
Windows, SysUtils, Classes, Controls, Forms, Dialogs, StdCtrls, ComCtrls, ExtCtrls,
|
||||
Buttons, SynMemo, SynEditHighlighter, SynHighlighterURI,
|
||||
Buttons, SynMemo, SynEditHighlighter, SynHighlighterURI, extra_controls,
|
||||
SynURIOpener, SynEdit, VirtualTrees, Graphics,
|
||||
dbconnection, gnugettext;
|
||||
|
||||
type
|
||||
TfrmSQLhelp = class(TForm)
|
||||
TfrmSQLhelp = class(TFormWithSizeGrip)
|
||||
URIOpenerDescription: TSynURIOpener;
|
||||
URIHighlighter: TSynURISyn;
|
||||
URIOpenerExample: TSynURIOpener;
|
||||
@ -81,7 +81,6 @@ procedure TfrmSQLhelp.FormCreate(Sender: TObject);
|
||||
begin
|
||||
// Set window-layout
|
||||
InheritFont(Font);
|
||||
SetWindowSizeGrip(Handle, True);
|
||||
Top := AppSettings.ReadInt(asSQLHelpWindowTop);
|
||||
Left := AppSettings.ReadInt(asSQLHelpWindowLeft);
|
||||
Width := AppSettings.ReadInt(asSQLHelpWindowWidth);
|
||||
|
Reference in New Issue
Block a user