08-25-2009 1:21 PM
Hi all,
is there any way to make the screen size as per the size of the user computers,the pblm is my screen is smaller than the end users and it is bcoming difficult for us to make it to fit to exact size of users. while developing alv report using OO. i just wants some thing like ctu_params-display mode = 'X' we put for BDC some thing like this.please let me know thanks alot.
Anil
08-25-2009 1:36 PM
Hi Anil,
you should use splitter or docking containers to create your ALV.
Example os splitter:
CREATE OBJECT go_splitter
EXPORTING
parent = cl_gui_container=>default_screen
rows = 1
columns = 1
metric = '0001'.
go_container = go_splitter->get_container( row = 1 column = 1 ).
CREATE OBJECT go_alv
EXPORTING
i_parent = go_container.
Regards,
Frisoni
08-25-2009 1:25 PM
08-25-2009 1:36 PM
Hi Anil,
you should use splitter or docking containers to create your ALV.
Example os splitter:
CREATE OBJECT go_splitter
EXPORTING
parent = cl_gui_container=>default_screen
rows = 1
columns = 1
metric = '0001'.
go_container = go_splitter->get_container( row = 1 column = 1 ).
CREATE OBJECT go_alv
EXPORTING
i_parent = go_container.
Regards,
Frisoni
08-25-2009 3:28 PM
08-25-2009 3:35 PM
The custom control can take care of it's sizing. You need to set the attributes appropriately.
Go to the attributes of your custom control in screen-pinater and check the vertical and horizontal resizing boxes. Set Min lines and Min columns fields to value 5. It will automatically resize according to user's screen resolution.