Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Resizing subscreens dynamically

Former Member
0 Likes
889

Hello experts.

I have two subscreens in my program and I want to make both of them resizable during the execution of the program using a drag-to-resize feature.

I tried searching for this in the forum but unfortunately could not come to a conclusion .

I was wondering if its even possible to implement such a feature ??

Thanks in advance !!

2 REPLIES 2
Read only

guilherme_frisoni
Contributor
0 Likes
462

One way do create a resizable window is to use a splitter.

You can create a splitter with two window like this:

CREATE OBJECT go_splitter

      EXPORTING

        parent  = cl_gui_container=>default_screen

        rows    = 2 "<<< Two windows resizable

        columns = 1

        metric  = '0001'.

And then you create one container for each row and associate one screen to each one.

Hope it helps,

Guilherme Frisoni

Read only

0 Likes
462

Thanks Guilherme