"Szymon Kosok" <sz**********@nootoplist.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
I want to make menu with panel component, but i have one big problem.
If user click outside panel, it (panel not user lol) must be hidden.
(just like main menu component) It's there way to make it possible?
I think you should write your own panel and override OnMouseLeve event and
add Visible = false there. Moreover you will probably need to add some
protection against hiding the panel when control inside panel is entered by
mouse cursor (because panel's OnMouseLeve event will be rised then too). I
think you can combine MainMenu with Panel(s) i.e. when MenuIem is clicked
you can show your panel Panel below MenuItem that was clicked.
PZDR PSG