|
-
Jul 12th, 2009, 03:36 AM
#1
Thread Starter
Lively Member
Adding Minimize and Maximize Button to Project
I have a simple project with a Form window.
All it has is a red Close button in the top right. Is it possible to add any more buttons. I have MinButton and Maxbutton set to true, but makes no difference
Also, I tried it on a netbook with a smaller screen, and ending up with part of the Form filling the whole screen with no scroll bars for horizontal or vertical
Thanks for your help
Mike
UK
-
Jul 12th, 2009, 03:42 AM
#2
Re: Adding Minimize and Maximize Button to Project
Change the Form's BorderStyle property to Sizeable.
-
Jul 12th, 2009, 07:15 AM
#3
Thread Starter
Lively Member
Re: Adding Minimize and Maximize Button to Project
 Originally Posted by DigiRev
Change the Form's BorderStyle property to Sizeable.
Bang on the money !
Thanks
Although I tried it in a low screen resolution where the Form was bigger than the screen, but there were no scroll bars for horizontal or vertical movement
Any ideas ?
-
Jul 12th, 2009, 11:30 PM
#4
Re: Adding Minimize and Maximize Button to Project
 Originally Posted by leachim
Bang on the money !
Thanks
Although I tried it in a low screen resolution where the Form was bigger than the screen, but there were no scroll bars for horizontal or vertical movement
Any ideas ?
Scrollbars are used to scroll controls ( like a TextBox ) that is on your form. It doesn't scroll the form itself.
<--- Did someone help you? Please rate their post. The little green squares make us feel really smart!
If topic has been resolved, please pull down the Thread Tools & mark it Resolved.
Is VB consuming your life, and is that a bad thing?? 
-
Jul 12th, 2009, 11:44 PM
#5
Re: Adding Minimize and Maximize Button to Project
You can check out MartinLiss 's signature for a scrollable form example
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
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
|