mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-06 18:24:26 +08:00
Get Ctrl+Backspace hotkey to work in grid inplace editor, by enabling autocompletion + autosuggestion. Fixes issue #3168.
This commit is contained in:
@ -8,7 +8,7 @@ uses
|
||||
Windows, Forms, Graphics, Messages, VirtualTrees, ComCtrls, SysUtils, Classes,
|
||||
StdCtrls, ExtCtrls, CheckLst, Controls, Types, Dialogs, Menus, Mask, DateUtils, Math,
|
||||
dbconnection, mysql_structures, helpers, texteditor, bineditor, gnugettext,
|
||||
StrUtils;
|
||||
StrUtils, ShLwApi;
|
||||
|
||||
type
|
||||
// Radio buttons and checkboxes which do not pass <Enter> key to their parent control
|
||||
@ -1045,6 +1045,9 @@ begin
|
||||
FEdit.ParentColor := True;
|
||||
FEdit.BorderStyle := bsNone;
|
||||
FEdit.OnKeyDown := DoKeyDown;
|
||||
// Get Ctrl+Backspace hotkey to work, by enabling autocompletion + autosuggestion
|
||||
// See issue #3168
|
||||
SHAutoComplete(FEdit.Handle, SHACF_AUTOAPPEND_FORCE_OFF or SHACF_AUTOSUGGEST_FORCE_OFF);
|
||||
FMainControl := FEdit;
|
||||
|
||||
FButton := TButton.Create(FPanel);
|
||||
|
Reference in New Issue
Block a user