Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > General > Maximize and minimize form with code


Reply
 
Thread Tools Display Modes
  #1  
Old 12-02-2003, 11:51 AM
geo1st487's Avatar
geo1st487 geo1st487 is offline
Junior Contributor
 
Join Date: Oct 2002
Posts: 328
Default Maximize and minimize form with code


Hi! How to maximize and minimize form with code?
Thanks
Reply With Quote
  #2  
Old 12-02-2003, 11:52 AM
ReadError's Avatar
ReadError ReadError is offline
Junior Contributor
 
Join Date: Nov 2003
Location: Québec city, Canada
Posts: 310
Default

change the windowstate property of the form
Reply With Quote
  #3  
Old 12-02-2003, 11:57 AM
dcalvo1 dcalvo1 is offline
Centurion
 
Join Date: Feb 2002
Location: Ohio, USA
Posts: 104
Default

frmForm.WindowState = vbMaximized
frmForm.WindowState = vbMinimized
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to disable the minimize, maximize & close buttons on a form?? toughcoder API 1 08-15-2003 09:56 AM
Having some problems in VB forms to customisze them on any windows platform VBShaker General 4 05-12-2003 09:30 AM
i need to maximize a window which is at minimize state amit_august Web Programming 2 05-07-2003 07:25 AM
Combo/Text Box - Resize Of The Form At Runtime Jean El Khoury Interface and Graphics 3 11-30-2002 04:35 AM
Remove maximize button from MDI form anaim General 1 02-26-2001 02:05 PM

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->