TiKeyboard.FocusHandle

TiKeyBoard

The window handle of the window that will obtain focus and receive keystrokes from the keyboard.

property FocusHandle : Integer

Description

Use FocusHandle to set or get the Window Handle of the window (i.e. another ActiveX/VCL control, other control, or window) that will obtain focus and receive keystrokes from the keyboard when a key is pressed on the keyboard component.

Example

Delphi

//Sets the focus to the window handle of a text box on the form

iComponent.FocusHandle :=TextBox1.Handle;

C++ Builder

//Sets the focus to the window handle of a text box on the form

iComponent->FocusHandle = TextBox1->Handle;

Contents | Index | Previous | Next