This static method returns the object reference of the control that has the focus.
This method is not queued using the automation queue. Instead, it is sent directly to the frontend.
CALL METHOD cl_gui_control=>get_focus
IMPORTING control = control
EXCEPTIONS cntl_error = 1
cntl_system_error = 2.
Parameters |
Description |
control |
Object reference ( TYPE REF TO cl_gui_control ) to the control that has the focus. |