2007 May 11 11:19 AM
Hello,
I have created a HTML custom container (class CL_GUI_CUSTOM_CONTAINER) and then, as a child of this object, a html control (class cl_crm_cic_html_viewer). which calls a URL. I'm trying to modify the size of this container using the SET_WIDTH method, but the size does not change. The code i am using is basically the following:
CREATE OBJECT my_container
EXPORTING
container_name = 'HTML'
EXCEPTIONS
OTHERS = 1.
CALL METHOD my_container->SET_WIDTH
EXPORTING
WIDTH = 500.
CREATE OBJECT html_control
EXPORTING
parent = my_container
SHELLSTYLE = i_style.
CALL METHOD html_control->show_url
EXPORTING
url = doc_url.
Does anybody know how to change the size properties of the gui containers?
Thank you and best regards,
Mario
2007 May 12 9:46 PM
Hm,
I think the size of the custom container is specified by how you draw it in screen painter on the dynpro. I suppose SET_WIDTH is simply inherited from the superclass and does not make any sense for a custom container.
Björn
2007 May 14 6:39 PM
Hello Björn,
The problem is that i'm not drowing anything with the screren painter. I have a BSP view inside the html_control. The BSP has the 100% of the size, but the html_control only shows a part of it, because the resolution of my screen (1280x1024) is bigger than the standard .
I don't know how to resize the html_control to obtain all the posibilities of this resolution.
Best regards,
Mario
2007 May 15 8:32 AM