I know overlapping controls has some issues but I want to create a control that hides and shows at mouse proximity. Which is the best method both for Windows and Mac?
I have tried with panels and rectangles setting visibility but can’t seem to get the correct display order and sometimes it only shows partially.
I can’t use a panel for the overlapped and the top control, the overlapped should remain visible (except for the small control at top) all the time.
Thanks for your help.
[quote=188662:@Alejandro Fresno Meyer]I know overlapping controls has some issues but I want to create a control that hides and shows at mouse proximity. Which is the best method both for Windows and Mac?
I have tried with panels and rectangles setting visibility but can’t seem to get the correct display order and sometimes it only shows partially.
I can’t use a panel for the overlapped and the top control, the overlapped should remain visible (except for the small control at top) all the time. [/quote]
What do you mean by “I can’t use a panel for the overlapped and the top control, the overlapped should remain visible” ?
One of the best ways I know of is to place a control on a Canvas which is invisible, and set it visible or not in the canvas MouseEnter and MouseExit.
Thanks, will try with a canvas, have already used panel and rectangle.
I mean that usually I place a panel to use different controls at the same location, but in this case I want to have the top controls showing over the controls in background and if possible also animate the control to show and hide; similar than a sheet window in Mac or even better the taskbar in Windows or the dock in Mac.