-
Resizing Program Window
This may be a stupid question, however I would like to know...
Right now my program cannot resize or maximize because when doing so it will not move the buttons or objects in the window but just will make the window bigger.
I want to know how I can do this, so when I go to resize the window, the buttons that are suppose to be on the right side,(after resizing the window), will be on the right side...
Just to say again if not made clear.
I want the objects in the window to either get bigger or move along so that everything will be centered after resizing the window...
Any help would be greatly appreciated...
Thanks Jobartley515
-
on the form resize event you'll have to define poisition and/or size of your controls based off the size of your controls
for example
Private Sub Form_Resize()
picture1.width = me.scalewidth
End Sub
you want to use the scalewidth and scaleheight properties too, because thats only the area inside the form.
-
Phil Weber
http://www.philweber.com
Please post questions to the forums, where others may benefit.
I do not offer free assistance by e-mail. Thank you!
Similar Threads
-
Replies: 1
Last Post: 04-05-2001, 05:04 PM
-
By Vic in forum VB Classic
Replies: 0
Last Post: 10-25-2000, 01:46 PM
-
By Vic in forum VB Classic
Replies: 0
Last Post: 10-25-2000, 01:46 PM
-
By TC in forum VB Classic
Replies: 8
Last Post: 09-26-2000, 02:34 AM
-
By TC in forum VB Classic
Replies: 0
Last Post: 09-25-2000, 09:06 AM
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
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks