Top
PowerCOBOL V11.0 Reference
FUJITSU Software

5.91 SetFocus Method

Description:

Sets the focus on the control.

It does not work when the Enabled or Visible property is False.

Used in controls:

CheckBox

ComboBox

CommandButton

Custom

DriveList

Edit

FileList

FolderList

ListBox

ListView

OptionButton

ScrollBar

Slider

Tab

Table

TextBox

TreeView

Used in objects:

None.

Parameters:

None.

Return value:

None.

Example:

INVOKE CmText1 "SetFocus"

Backward compatibility
method name:

SETFOCUS

Backward compatibility
arguments:

None.