mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 19:59:17 +02:00
lcl: update lookup unconditionally in InitializeWnd
git-svn-id: trunk@32921 -
This commit is contained in:
parent
43e41c3974
commit
36cdc25ab4
@ -59,8 +59,7 @@ end;
|
|||||||
procedure TDBLookupComboBox.InitializeWnd;
|
procedure TDBLookupComboBox.InitializeWnd;
|
||||||
begin
|
begin
|
||||||
inherited InitializeWnd;
|
inherited InitializeWnd;
|
||||||
if FDataLink.Active then
|
UpdateLookup;
|
||||||
UpdateLookup;
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TDBLookupComboBox.GetKeyField: string;
|
function TDBLookupComboBox.GetKeyField: string;
|
||||||
|
@ -62,8 +62,7 @@ end;
|
|||||||
procedure TDBLookupListBox.InitializeWnd;
|
procedure TDBLookupListBox.InitializeWnd;
|
||||||
begin
|
begin
|
||||||
inherited InitializeWnd;
|
inherited InitializeWnd;
|
||||||
if FDataLink.Active then
|
UpdateLookup;
|
||||||
UpdateLookup;
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TDBLookupListBox.KeyDown(var Key: Word; Shift: TShiftState);
|
procedure TDBLookupListBox.KeyDown(var Key: Word; Shift: TShiftState);
|
||||||
|
Loading…
Reference in New Issue
Block a user