Hi together,
Dialogs designed with the old Dialogdesigner (think it was pre V12.x) will not change their size or size of the text inside of the dialog, when the Windows text size is set from "smaller - 100% (default )" to "medium - 125%" or "lager - 150%".
Is there any property in the actual dialog designer which avoids resizing of dialogs when the Windows text resolution/size is changed for the system?
Avoid Dialog size changes when Windows Text size is modified
Moderators: JRL, Dorian (MJT support)
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
This is why you should stick to standard Windows design principles and ALLOW the objects to resize when the user resizes his font. Don't try and work against the way Windows works and fix the sizes.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
- Phil Pendlebury
- Automation Wizard
- Posts: 543
- Joined: Tue Jan 16, 2007 9:00 am
- Contact:
In older dialogs my way around this was to set the font / size on the dialog independently of Windows:
Code: Select all
SetDialogObjectFont>Dialog,,%deffont%,%deffontsize%,0,0
Phil Pendlebury - Linktree
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Don't use a background image.
What you could do is:
1. Put an Image control on the form
2. Set it's Align property to alClient
3. Load an image into it
4. Set the image to stretch
Now when you resize the form the image gets resized accordingly.
It could end up looking ugly as the proportions will vary.
This is one reason why you don't usually see background images on windows forms.
What you could do is:
1. Put an Image control on the form
2. Set it's Align property to alClient
3. Load an image into it
4. Set the image to stretch
Now when you resize the form the image gets resized accordingly.
It could end up looking ugly as the proportions will vary.
This is one reason why you don't usually see background images on windows forms.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?