![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: May 2006
Posts: 18
Rep Power: 0
![]() |
How do i make my own minimize button?
Ho im tryn to make a minimize button to my project because i dont want my form to have border style so i want to make my own button and what is the code to minimize?? the form??
|
|
|
|
|
|
#2 | |
|
Professional Programmer
Join Date: May 2006
Location: UK - London
Posts: 333
Rep Power: 3
![]() |
Minimize: Form1.WindowState = vbMinimized
Maximized: Form1.WindowState = vbMaximized Normal: Form1.WindowState = vbNormal
__________________
Quote:
|
|
|
|
|
|
|
#3 |
|
Newbie
Join Date: May 2006
Posts: 18
Rep Power: 0
![]() |
Hey Thanks for the Code but instead of it going to where all the programs go when they are minimized in teh bottom it goes in the left bottom of the screen and when i open another program it disappears why is this problem?
EDITED: Well now i know what's the problem its because the form doesnt have a BorderStyle so it shrinks in the left corner of the screen but how do i change it to normal ! |
|
|
|
|
|
#4 |
|
Programmer
|
BorderStyle=2
Thats a normal window... that will allow it to minimize. I think most except no border will minimize correctly |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|