fix bug in RxLockupComboBox

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2491 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
alexs75 2012-08-26 10:09:21 +00:00
parent 3414e0ec24
commit e24c69622d

View File

@ -55,6 +55,7 @@ type
procedure FindPriorChar;
procedure SetLookupDisplayIndex(const AValue: integer);
protected
procedure SetDBHandlers(Value: boolean);override;
procedure UTF8KeyPress(var UTF8Key: TUTF8Char); override;
procedure KeyDown(var Key: Word; Shift: TShiftState); override;
property LookupDisplayIndex:integer read FLookupDisplayIndex write SetLookupDisplayIndex;
@ -891,12 +892,14 @@ begin
FLookupDisplayField:=Columns[FLookupDisplayIndex].FieldName;
end;
procedure TPopUpGrid.SetDBHandlers(Value: boolean);
begin
//
end;
procedure TPopUpGrid.UTF8KeyPress(var UTF8Key: TUTF8Char);
begin
inherited UTF8KeyPress(UTF8Key);
if UTF8Key>=#32 then
FindNextChar(UTF8Key)
else
if UTF8Key>#32 then
FindNextChar(UTF8Key)
else