Skip to Content
0
Jan 19, 2011 at 09:36 AM

How to set focus on a button that I created dynamically

34 Views

Hi everyone,

Code :

lc_view_ctrl = wd_this->wd_get_api( ).

lc_window_ctlr = lc_view_ctrl->get_embedding_window_ctlr( ).

l_window = lc_window_ctlr->get_window( ).

l_window->set_button_kind( button_kind = if_wd_window=>co_buttons_okcancel ).

How do I focus on the OK button ?

Thanks.

Regards