|
-
Apr 8th, 2000, 03:55 AM
#1
Thread Starter
Member
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?
Thanks
-
Apr 8th, 2000, 05:27 AM
#2
New Member
-
Apr 8th, 2000, 05:32 AM
#3
Thread Starter
Member
Seems I need to break that down ... 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?
-
Apr 8th, 2000, 07:45 AM
#4
Hyperactive Member
Me.windowstate = Minimized
Me.windowstate = Maximized
'Makes the form as small as possible w/o losing anything
Me.windowstate = Normal
Hope that helps
-
Apr 8th, 2000, 07:49 AM
#5
Hyperactive Member
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]
-
Apr 8th, 2000, 08:01 AM
#6
Thread Starter
Member
When its minimized doesnt it go to the taskbar, which can just be click to retore it back? (Thanx for the codes )
-
Apr 8th, 2000, 08:07 AM
#7
Hyperactive Member
-
Apr 8th, 2000, 08:10 AM
#8
Thread Starter
Member
Cool! Thanx! Yous are the best
-
Apr 8th, 2000, 09:01 AM
#9
Hyperactive Member
Off Course
I was kidding, when in the taskbar you can not click on the "restore" or "maximize" buttons cause they are all hidden!
-
Apr 8th, 2000, 09:09 AM
#10
Thread Starter
Member
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
|