Top
PowerCOBOL V11.0 Reference
FUJITSU Software

4.100 DisabledFocusAction Property

Description:

Indicates the focus behavior when the Enabled or Visible property of a control that has the focus is changed to False.

Introduced to give the option of compatibility with either Visual Basic's behavior or the behavior of PowerCOBOL releases other than V4L20.

Used in object:

Form

Values (with constants):

If the next item to receive focus is an OptionButton group the value indicates what happens when the group receives the focus (passed by Enabled or Visible being set to False on a control that had the focus).

0 - Normal(POW-DFA-NORMAL)
(PowerCOBOL behavior, other than release V4L20). Focus is placed on the selected OptionButton.

1 - Ignore option button value (POW-DFA-IGNOREOPTIONVALUE)
(Visual Basic behavior). Focus is placed on the first OptionButton and the Value property of the OptionButton is changed to True.

Default value:

0 - Normal(POW-DFA-NORMAL)
Note : For project files created using PowerCOBOL V4.0L20 the default value is 1. For projects created using V4.0L10, or converted from V3.0, the default value is 0.

COBOL PICTURE:

S9(4) COMP-5

OLE data type:

VT_I2

Design time access:

Set and reference.

Execution time access:

Set and reference.

Backward compatibility attributes:

None.