Top
PowerCOBOL V11.0 Reference
FUJITSU Software

4.97 DelayedFocusEvent Property

Description:

Indicates whether the following events are delayed when another event is waiting.

Delayed events

LostFocus event, GotFocus event, and the Edit and Return events of the ComboBox, Table and TextBox controls.

Used in object:

Form

Values (with constants):

True - Delays the events.(POW-TRUE)
False - Does not delay the events.(POW-FALSE)

For example, when DelayedFocusEvent is True and the SetFocus method of another control is invoked from an event procedure, then the GotFocus event is not generated immediately; the event is only generated after other events that are waiting on the system have finished.

This property depends on the kind of control. Set this property to True in Custom controls.

Default value:

True(POW-TRUE)

Note: the default value of DelayedFocusEvent for controls in project files converted from PowerCOBOL V4.0L10 or V3.0 is False.

COBOL picture:

S9(4) COMP-5

OLE data type:

VT_BOOL

Design time access:

Set and reference.

Execution time access:

Reference only.

Backward compatibility attribute:

None.