implementation
procedure Register;
begin
RegisterComponents(`Samples`
end;
constructor TDBFieldComboBox
var I
begin
inherited Create(Aowner);
FDataLink:=TFieldDataLink
ondropdown:=dropdown;
text:=``;
end;
destructor TDBFieldComboBox
begin
FDataLink
inherited Destroy;
end;
function TListBox
var
I
begin
j:=FDataLink
for I :=
begin
if FDataLink
begin
Result:=FDataLink
exit;
end;
end;
end;
procedure TDBFieldComboBox
begin
FDataLink
end;
function TDBFieldComboBox
begin
Result:=FDataLink
end;
procedure TDBFieldComboBox
begin
end;
procedure TDBFieldComboBox
var
I
begin
j:=
j:=FDataLink
I:=
repeat
items
I:=I+
until I>j-
end;
end
[
From:http://tw.wingwit.com/Article/program/Delphi/201311/8534.html