ThbTapiLine.Available
Unit: hbTapi
 

This property indicates if the selected line device is available/useable. ThbTapiLine checks the device when the DeviceID or DeviceName is set. The capabillities of the device will be read and the version will be negotiated. The used version is stored in the ThbTapiLine.TSP.APIVersion property.

Example

hbTapiLine1.DeviceName := 'Find+Phone TSP v2.0';
if hbTapiLine1.Available then
begin
  // the selected device is available on this system
  try
    hbTapiLine1.Active := True;
  ...

Availability

Design-Time: Read, Write / Run-Time: Read, Write

Declaration

property Available: Boolean;

See Also

ThbTapiLine.DeviceID, ThbTapiLine.DeviceName