Skip to main content
Version: 20 R5

On Getting focus

CodeCan be called byDefinition
154D View Pro Area - 4D Write Pro area - Button - Check Box - Combo Box - Form - Hierarchical List - Input - List Box - List Box Column - Plug-in Area - Progress Indicators - Radio Button - Ruler - Spinner - Stepper - Subform - Web areaA form object is getting the focus

Description

The On Getting Focus event, along with the On losing Focus event, are used to detect and handle the change of focus for focusable objects.

With subform objects, this event is generated in the method of the subform object when they it is checked. It is sent to the form method of the subform, which means, for example, that you can manage the display of navigation buttons in the subform according to the focus. Note that subform objects can themselves have the focus.