54 |
|
FOwner: TIBLookupComboEditBox; |
55 |
|
protected |
56 |
|
procedure ActiveChanged; override; |
57 |
+ |
procedure DataEvent(Event: TDataEvent; Info: Ptrint); override; |
58 |
|
procedure RecordChanged(Field: TField); override; |
59 |
|
procedure UpdateData; override; |
60 |
|
public |
170 |
|
FOwner.ActiveChanged(self) |
171 |
|
end; |
172 |
|
|
173 |
+ |
procedure TIBLookupComboDataLink.DataEvent(Event: TDataEvent; Info: Ptrint); |
174 |
+ |
begin |
175 |
+ |
inherited DataEvent(Event, Info); |
176 |
+ |
if Event = deLayoutChange then |
177 |
+ |
FOwner.LookupCache := FOwner.LookupCache; {sneaky way of calling UpdateLookup} |
178 |
+ |
end; |
179 |
+ |
|
180 |
|
procedure TIBLookupComboDataLink.RecordChanged(Field: TField); |
181 |
|
begin |
182 |
|
FOwner.RecordChanged(self,Field); |