|
-
Aug 1st, 2000, 09:17 AM
#1
Thread Starter
New Member
How can i resize entire form created in visual basic so that, when i resize the form, it automatically resizes all the controls inside it accordingly.I do not mean increasing the size of the controls inside the form, but to adjust all the controls with equal spacaing.
-
Aug 1st, 2000, 09:26 AM
#2
-
Aug 1st, 2000, 09:36 AM
#3
Fanatic Member
HOLLLLLLLLYYYY whatever that works!!!
Kurt Simons
[I know I'm a hack but my clients don't!]
-
Aug 1st, 2000, 09:47 AM
#4
Fanatic Member
To get it so It won't resize only respace add some comment tags!
after * scale y and over the fonts
Ctl.Move D(0) * ScaleX, D(1) * ScaleY ', D(2) * ScaleX, D(3) * ScaleY
' Ctl.Width = D(2) * ScaleX
' Ctl.Height = D(3) * ScaleY
'Change font size
If ScaleX < ScaleY Then
' Ctl.FontSize = D(4) * ScaleX
Else
' Ctl.FontSize = D(4) * ScaleY
Kurt Simons
[I know I'm a hack but my clients don't!]
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
|