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

BDC ----Screen Resolution Handiling

Former Member
0 Likes
353

Hi

Can anybody guide me how to handle the screen resolution.

As my client is using 800 X 600 resolution and what we develop will be in 1024 X 768 . In our screen we can view 5 rows for a table control and the client as his resolution is less he can view only 3 or 4 rows .How can I adjust these things .

Points will be rewarded accordingly.

Thanks & Regards,

PavanKumar.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
326

Hi pavan,

perhaps you whant to adjust the sise of your objects at you screen according to the resolution?

for exempl the sise of the docking conteiner.

Than you need to use something like that

WINDOW_HEIGTH = ( SY-SROWS - 9 ) * 12.

CREATE OBJECT G_DOCKING_CONTAINER

EXPORTING

REPID = REPID

DYNNR = '100'

SIDE = CL_GUI_DOCKING_CONTAINER=>DOCK_AT_BOTTOM

EXTENSION = WINDOW_HEIGTH.

the 9 is a number of rows from the top of screen to stay free for selectionscreen of dynpro. 12 is the number of pixels per row.

Cheers

Alfred

1 REPLY 1
Read only

Former Member
0 Likes
327

Hi pavan,

perhaps you whant to adjust the sise of your objects at you screen according to the resolution?

for exempl the sise of the docking conteiner.

Than you need to use something like that

WINDOW_HEIGTH = ( SY-SROWS - 9 ) * 12.

CREATE OBJECT G_DOCKING_CONTAINER

EXPORTING

REPID = REPID

DYNNR = '100'

SIDE = CL_GUI_DOCKING_CONTAINER=>DOCK_AT_BOTTOM

EXTENSION = WINDOW_HEIGTH.

the 9 is a number of rows from the top of screen to stay free for selectionscreen of dynpro. 12 is the number of pixels per row.

Cheers

Alfred