Skip to Content

Adjust size docking container

Hi SDN,

I've a screen with a button (data_area_expand / data_area_collapse), to expand/collpase a text, and a grid in the same screen with a docking container.

I can hide and show the text, but I'd like when the button is pressed the docking container adjust it's size according to the appearance of the text

Can you please help?

Best regards,

Maria João Rocha

.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Apr 02, 2008 at 03:58 PM

    Try this way

    Once button is press

        call method g_docking_container_1->set_visible
          exporting
            visible           = ' '   " Change the value according to button press
          exceptions
            cntl_error        = 1
            cntl_system_error = 2
            others            = 3.
    

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 02, 2008 at 04:06 PM

    Hi a®s,

    I pretend the docking container (with a alv grid) always visible, the text is to hide/display according to he button. I can make that, my problem is to adjust the size of the docking container. When the text is shown the grid mut be smaller, and when the text is hide the grid must occupy all screen area.

    Thanks and regards,

    Maria João Rocha

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.