Hi I want to know if sombody know how to hide a form when the mouse isn't over the form, and when the mouse is over the form show the form
thanks
Printable View
Hi I want to know if sombody know how to hide a form when the mouse isn't over the form, and when the mouse is over the form show the form
thanks
One suggestion is set X,Y co-ordinates and if the mouse is moved outside those co-ordinates the form hides and when the mouse moves back into the co-ordinates the form shows. Sounds good in theory but not sure how to put it into action......Something to work with.
I try to do it, but It doesn't works, here is what I did, could you tell where is the mistake
I figure that to be a bit complicated, since a form that is hidden does not recieve any mouse_events. So you need other forms to take the event that will show your form again. But those othr forms could be outside you'Re application.
Could you give some more details, maybe there is another way of doing what you really want to do.
I want to do an Autohiding window, like the task bar, when you put the mouse closer the task bar you can see it, but if you take out the mouse, the task bar is hide, in mi window or form I will have bottons that will restart the computer or log off an user
Whe you move the mouse over the form you've got it to move up towards the top of the screen as per your code below. As of a way to get waht you want, i'm not sure. Why do you want to hide a form when the mouse is moved over it??
Code:Me.Top = (Me.Top - 10)
Well I do that to change the position of the form, It mus be like 500 to hide the form complety but I used 10 to see if the function was working
Gilberto... I am sorry... Here it is as I promised.
Enjoy... Cheers and Good Luck!
Gilberto, tell me if it is what you needed so I can go to sleep... I did not forget about you... I was working on it.
Sorry!
I am going to sleep... Good luck. :)
Thanks Tec-Nico jejej Jeorge thats great, I was finishing the other part of the project, with this I will finish It satisfactory
Thanks everybody
For all who downloaded the attachment of the last post... Well, it works but when you go over a control (A button, a textbox, etc) the form will hide too... So I solved this in the following attachment.
Cheers!