on 11-13-2008 9:14 AM
Hello,
I am looking to set the size of my VIEW which is called in following way:
IF iv_show_in_pop_up EQ abap_true.
wd_this->raise_simulation_pop_up( ).
I want to set of the size of the VIEW if it a pop-up.
ENDIF.
How can i get access to the view and set the size. Please Help.
Regards,
Piyush
Hi Piyush,
Check what Anzy has to say in [here|https://forums.sdn.sap.com/click.jspa?searchID=18635339&messageID=3289078]:
"You have to go to specific view , which will be embedded in the pop up window.In the view go to ROOTUIELEMENTCONTAINER and set the width and height.This way you can restrict the size of the pop up window."
This is [another approach|https://forums.sdn.sap.com/click.jspa?searchID=18635339&messageID=5836334] suggested by Abhimanyu Lagishetty for dynamically setting the size of your window:
"Pass the URL like this to the create_external_window
javascript:window.moveTo(0,0);window.resizeTo(screen.width,screen.height);window.location.href="http://google.co.in";
Instead of http://google.co.in write your URL it will maximize the window"
Regards,
Uday
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.