minimize a form

rex64
08-08-2003, 08:54 AM
I would like the form to be minimized so that a user can just click on it in the task bar (I dont want it completly invisable, otherwise they would not be able to open it easily? I did a search, but I only found some odd api stuff that was detecting when the window is minimized.

'gorillaClient.minimize
gorillaClient.MinButton

reboot
08-08-2003, 08:57 AM
gorillaClient is a form in your app?

Feral
08-08-2003, 08:58 AM
I would like the form to be minimized so that a user can just click on it in the task bar (I dont want it completly invisable, otherwise they would not be able to open it easily? I did a search, but I only found some odd api stuff that was detecting when the window is minimized.

'gorillaClient.minimize
gorillaClient.MinButton


Hi rex64,

Me.WindowState = vbMinimized

Will minimize the form where it's called.

HTH

TheRealWoody
08-08-2003, 08:58 AM
I would like the form to be minimized so that a user can just click on it in the task bar (I dont want it completly invisable, otherwise they would not be able to open it easily? I did a search, but I only found some odd api stuff that was detecting when the window is minimized.

'gorillaClient.minimize
gorillaClient.MinButton



Me.WindowState = vbMinimized

Thinker
08-08-2003, 08:59 AM
Set the Form.WindowState = vbMinimized.

rex64
08-08-2003, 09:12 AM
Thanks guys. It worked


Me.WindowState = vbMinimized

rex64
08-08-2003, 09:16 AM
Actually the Thinkers was the most useful for my project. Thanks a million.

gorillaClient.WindowState = vbMinimized 'more useful actually :)
'Me.WindowState = vbMinimized

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum