FormControl.hWnd Method

Retrieves the Windows handle for the control.

Syntax

public int hWnd()

Run On

Client

Return Value

Type: int
The handle for the control.

Remarks

The handle can be used with the Windows API.

Examples

The following example shows how to retrieve the Windows handle for a control.

int h; 
 
h = this.hWnd(); 
info (strfmt("hWnd: %1", h));

See Also

Reference

FormControl Class