<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Modify width property in CL_GUI_CUSTOM_CONTAINER in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-width-property-in-cl-gui-custom-container/m-p/2223880#M477714</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CREATE OBJECT my_container&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;            container_name = 'HTML'&lt;/P&gt;&lt;P&gt;        EXCEPTIONS&lt;/P&gt;&lt;P&gt;            OTHERS = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL METHOD my_container-&amp;gt;SET_WIDTH&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      WIDTH = 500.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CREATE OBJECT html_control&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            parent    = my_container&lt;/P&gt;&lt;P&gt;            SHELLSTYLE = i_style.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL METHOD html_control-&amp;gt;show_url&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      url = doc_url.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody know how to change the size properties of the gui containers?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you and best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mario&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 May 2007 10:19:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-11T10:19:44Z</dc:date>
    <item>
      <title>Modify width property in CL_GUI_CUSTOM_CONTAINER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-width-property-in-cl-gui-custom-container/m-p/2223880#M477714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CREATE OBJECT my_container&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;            container_name = 'HTML'&lt;/P&gt;&lt;P&gt;        EXCEPTIONS&lt;/P&gt;&lt;P&gt;            OTHERS = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL METHOD my_container-&amp;gt;SET_WIDTH&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      WIDTH = 500.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CREATE OBJECT html_control&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            parent    = my_container&lt;/P&gt;&lt;P&gt;            SHELLSTYLE = i_style.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL METHOD html_control-&amp;gt;show_url&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      url = doc_url.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody know how to change the size properties of the gui containers?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you and best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mario&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2007 10:19:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-width-property-in-cl-gui-custom-container/m-p/2223880#M477714</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-11T10:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: Modify width property in CL_GUI_CUSTOM_CONTAINER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-width-property-in-cl-gui-custom-container/m-p/2223881#M477715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hm,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Björn&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 May 2007 20:46:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-width-property-in-cl-gui-custom-container/m-p/2223881#M477715</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-12T20:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: Modify width property in CL_GUI_CUSTOM_CONTAINER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-width-property-in-cl-gui-custom-container/m-p/2223882#M477716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Björn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know how to resize the html_control to obtain all the posibilities of this resolution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mario&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2007 17:39:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-width-property-in-cl-gui-custom-container/m-p/2223882#M477716</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-14T17:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: Modify width property in CL_GUI_CUSTOM_CONTAINER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-width-property-in-cl-gui-custom-container/m-p/2223883#M477717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then I'm of no help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2007 07:32:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-width-property-in-cl-gui-custom-container/m-p/2223883#M477717</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-15T07:32:26Z</dc:date>
    </item>
  </channel>
</rss>

