|
-
Apr 26th, 2009, 10:01 AM
#1
Thread Starter
Junior Member
[RESOLVED] Resizing forms and maintaining control ratio works differently on OS
When the user resizes the form, I want to make the controls increase in size and anchor in proportion with the form's width and height. Well, everything is ok with my code, except that my system's style is set to the classic Windows theme, and when I try on another style (the one most users have), it looks horrible.
For instance, in mine, the main textbox control is at the same distance from the form's width as it is from the form's left (120 twips from the form's left and the control's left, and 120 twips from the control's width to the form's width).
When I use the other theme, it's still at 120 distance from the lefts, but the control's right is exactly in the same place as the form's right.
In image format:
Is how it looks using the classic theme
Is how it looks using the common theme
So, I'm looking for a solution to make the resizing work well in every computer. Specially if the solution is about an optimized resizing algorithm.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|