This is probably real easy but I am extremely new to all of this..what are the _Click () codes if I wanted to create my own minimize and maximize buttons on a form?
:confused: Thanks
Printable View
This is probably real easy but I am extremely new to all of this..what are the _Click () codes if I wanted to create my own minimize and maximize buttons on a form?
:confused: Thanks
What??
Seems I need to break that down :cool:... I have a form...no title bar.. I am making my own buttons on the form and want them to minimize or maximize my form when clicked.. how can I do this? :confused:
Me.windowstate = Minimized
Me.windowstate = Maximized
'Makes the form as small as possible w/o losing anything
Me.windowstate = Normal
Hope that helps
It'pretty easy:
Me.WindowState = vbMinimized
or vbMaximized or vbNormal.
Or use their numeric codes:
Me.WindowState = 0 for normal, 1 for minimized, 2 for maximized.
BUT once minimized, you won't be able to restore or maximize it with the buttons!
[Edited by Juan Carlos Rey on 04-08-2000 at 10:54 PM]
When its minimized doesnt it go to the taskbar, which can just be click to retore it back? (Thanx for the codes :D)
Yes it does.
:D Cool! Thanx! Yous are the best :D
I was kidding, when in the taskbar you can not click on the "restore" or "maximize" buttons cause they are all hidden!
:( :( :( ........