Good evening group, I have another little problem.
I have a main, with a series of buttons. Each button opens a different window … so in theory, I could have 1, 2 or 7 windows open on the screen. In all this, I would like the main, to appear and disappear when the mouse passes over it. When the mouse is outside the main (original size), it closes to the left leaving a small vertical strip … when I pass over the vertical strip with the mouse, the main reopens. I tried to do this using a timer … the problem is that the timer always remains active and blocks me from using the other windows.
could u use
MouseEnter
MouseExit
events?
Thanks for the info. I actually hadn’t thought of that… I was making my job harder!!
I set MouseEnter and MouseExit, with with=382 and with=15, but it doesn’t work very well… it shrinks, then struggles to reopen when I move the mouse over it. What could this depend on? The buttons that are there that prevent the pointer from being “found”?
Also, I would like to understand why I can’t close the window more than 1/3 of its width… I have 3 rows of buttons, I can hide the first two, but I can’t… I thought it depended on the minimized, close buttons… but it doesn’t. What could it depend on? I also set minimun with in the window property to 15 but it doesn’t work.
OK, I don’t know why but I set the window as “Global Floating Windows” and it resizes. I just got lucky, I don’t know why it works like this though.
I used MouseEnter and MouseExit to start Timers to make a window narrower or wider, This way you can move a mouse across a window and not have it popping open & closed, or immediately closing if you accidentally move the mouse out and back into the window.
Thanks for you example.