SaLiVa Posted August 25, 2004 Share Posted August 25, 2004 How do I make a Command Button minimize the form? I have this code Me.WindowState = vbMinimized But in this case, the window disappears and theres no Trace of the program on my Taskbar. Not only then, but before I minimize it, when its running, it doesnt have a Taskbar :| Link to comment Share on other sites More sharing options...
0 SaLiVa Posted August 25, 2004 Author Share Posted August 25, 2004 I see whats wrong... I didnt put any caption in my Form BTW, I wanted to get rid of the "Title" bar so that I could skin my program. Is there anyway I can get the Task back onto the Taskbar? Or is there anyway I can get rid of the Title Bar? I'd still need the code for minimization I think. Or is that code I gave correct? Link to comment Share on other sites More sharing options...
0 John Veteran Posted August 25, 2004 Veteran Share Posted August 25, 2004 The code you gave is fine, you just need the taskbar button tho show up (Y) If it were in .NET, I could show you how; I don't use VB6 anymore :p Link to comment Share on other sites More sharing options...
0 elliot Posted August 25, 2004 Share Posted August 25, 2004 There's a property 'ShowInTaskbar' on your form. Set to true. (Y) Link to comment Share on other sites More sharing options...
0 SaLiVa Posted August 25, 2004 Author Share Posted August 25, 2004 Thanks alot Elliot! Helped big time! Now I've finished my first ever fully functional basic calculator with Skins! Mwahahahaha! Finally, some progress in programming! Link to comment Share on other sites More sharing options...
0 Josh Posted August 27, 2004 Share Posted August 27, 2004 LOL!!! :lol: a skinnable calculater!!! I always wanted one of those ;) j00 is t3h 1337 4ddin6 d00d :yes: Link to comment Share on other sites More sharing options...
0 Jerry Grey Member Posted August 27, 2004 Member Share Posted August 27, 2004 The code you gave is fine, you just need the taskbar button tho show up (Y) If it were in .NET, I could show you how; I don't use VB6 anymore :p Yea, that too ;) Link to comment Share on other sites More sharing options...
Question
SaLiVa
How do I make a Command Button minimize the form?
I have this code
Me.WindowState = vbMinimized
But in this case, the window disappears and theres no Trace of the program on my Taskbar.
Not only then, but before I minimize it, when its running, it doesnt have a Taskbar :|
Link to comment
Share on other sites
6 answers to this question
Recommended Posts