Top
PowerCOBOL V11.0 Reference
FUJITSU Software

4.4 ActiveControl Property

Description:

Contains a pointer to the control that has the focus.

Used in controls:

None.

Used in objects:

Form

Value:

A pointer to the control, which has focus on the form.

If no control has focus the value is NULL. Use the constant POW-NULL to check if the value is set.

The value can be accessed using the NetCOBOL *COM class.

Note: it cannot be accessed like other properties. See the Example of Using the ActiveControl Property on the next page.

Default value:

None.

COBOL PICTURE:

OBJECT REFERENCE POW-COBJECT

OLE data type:

VT_DISPATCH

Design time access:

Not accessible.

Execution time access:

Reference only.

Backward compatibility attributes:

None.