cancel
Showing results for 
Search instead for 
Did you mean: 

pop up window

Former Member
0 Kudos

hi all,

i am working on an application in which i need to destroy it on an action of a button which is created in the same view by me only( i.e i am not using the default buttons created by wizard). Please let me know.

I also want tmake the size fix as the window created is resizable and user can play with it.

thank you.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi andrew,

i think u want to destroy the window on the custom button u have created , please use the following code i think it will help you.

write in the action method of your button...

  • data:

  • l_api type ref to if_wd_view_controller,

  • l_window_ctlr type ref to if_wd_window_controller,

  • l_popup type ref to if_wd_window.

  • l_api = wd_this->wd_get_api( ).

  • l_window_ctlr = l_api->get_embedding_window_ctlr( ).

  • if l_window_ctlr is bound.

  • l_popup = l_window_ctlr->get_window( ).

  • l_popup->close( 'l_popup' ).

  • endif.

Former Member
0 Kudos

its done

thanks

please look into the other paet also the resizablity

Answers (0)