ThbTapiPhone.OnLamp
Unit: hbTapi

This event fires each time the state of lamp has changed. The lamp is indicated by the ButtonLampID parameters. Use this parameter with the ThbTapiPhone.Controls property to get the new state of the lamp.

Availability

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

Declaration

procedure OnLamp(Sender: ThbTapiPhone; ButtonLampID: DWORD);
property OnLamp: ThbTapiPhoneButtonLampEvent;

Remraks

Please refer to the sections "PHONE_STATE" and "PHONESTATE_LAMP" in TAPI's documentation for a more detailed information.

See Also

ThbTapiPhone.Controls