• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 487
  • Last Modified:

Resize the screen resolution

Hi All,

How can I resize my app's window when the app was designed in another screen resolution than the running circumstances?
Is there any chance to detect the screen resolution and
manage the changes in a genle way.

Thanks in advance
Andras
0
bandi081497
Asked:
bandi081497
1 Solution
 
ronit051397Commented:
Screen.Height and Screen.Width
0
 
bandi081497Author Commented:
That's what I know. But I want some automatic solution.
When you set the screen width and height the objects what
your form contains doesn't changes their positions. So I have
to set each position. Whaaa, It's difficult.

So any other suggestion?
0
 
ronit051397Commented:
More then few questions were asked about this issue, if you dig you'll find some.
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
bandi081497Author Commented:
That's what I know. But I want some automatic solution.
When you set the screen width and height the objects what
your form contains doesn't changes their positions. So I have
to set each position. Whaaa, It's difficult.

So any other suggestion?
0
 
spokraevCommented:
Set Form property Scaled to TRUE
0
 
kogerCommented:
You could use this code to get the screen resolution:

x,y: integer;
  x := getSystemMetrics(SM_CXSCREEN);
  y := getSystemMetrics(SM_CYSCREEN);


This will fit the form:
  ScaleBy(x, 1024);

Guess that scaled must be set true
you should also resize the
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now