‎2006 Oct 18 6:39 AM
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.
‎2006 Oct 18 6:43 AM
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
‎2006 Oct 18 6:43 AM
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