List of ThbTapiLocation
objects that is filled with all available locations automatically.
var i: integer; s: String;
begin
ListBox1.Items.Clear;
with ThbTapiLocationList.Create do
try
for i := 0 to Count-1 do
begin
ListBox1.Items.Add(Items[i].LocationName
+ ', ID=' + IntToStr(Items[i].LocationID);
end;
finally
Free;
end;
end;