On Getting focus
Code | Can be called by | Definition |
---|---|---|
15 | 4D 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 area | A 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.