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

Screen resolution

Former Member
0 Likes
677

Hello

Does anybody know if there is a function which returns the resolution of the computer screen ?

Ex : 800 * 600 pixels or 1280 * 1024 ?

I need this information to adapt the size of a docking container.

Thank you for your help.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
350

you can check the variable sy-scols and sy-srows. It´s not the resolution but its proportional to the resolution and it heold the number of rows and columns available on the screen.

But BE AWARE, these values change when you resize the window.

1 REPLY 1
Read only

Former Member
0 Likes
351

you can check the variable sy-scols and sy-srows. It´s not the resolution but its proportional to the resolution and it heold the number of rows and columns available on the screen.

But BE AWARE, these values change when you resize the window.