|
| Menu option at MDI Window cant be clicked |
| Iniciado por guest, 02,dic. 2017 13:02 - 2 respuestas |
| |
| | | |
|
| |
| Publicado el 02,diciembre 2017 - 13:02 |
Hi All, I have problem with menu bar at the top of MDI child window which is not clickable. However, it will run if the shortcut key is pressed. So, problem only when it's clicked and will not respond. When I try changing it to Open instead of MDIOpen everything is fine.
Is the menu bar not allowed in MDI child window? If yes, is there a work around to still have menu bar in MDI window?
Thanks in advance. |
| |
| |
| | | |
|
| | |
| |
| Publicado el 03,diciembre 2017 - 09:47 |
Hi Adrian,
true, since version 22 standard "menues" (even that of the MDI parent window!) behave in a funny way. And yes, the menues on MDI child windows don't work at all. Best workaround is to use button controls popping up a popup-menue. Btw, you can copy / paste standard menue options into a popup menue. If you make the button's background color the same color as the window background you can "fake" a full blown menue with the added benefit of being able to move the menue's main options at will. [attachment 2518 Ashampoo_Snap_2017.12.03_09h37m57s_001_.png]
The contours of the buttons are shown with F7 otherwise you couldn't see them. The code behind each button shows a popup menu: OpenPopupMenu(PopupMenu_3_Kunden, MySelf..X, MySelf..Y + MySelf..Height)
The behaviour of the these menues is slightly different to a "standard" menue, because each popup menue doesn't know about the neighboring menues. Users in general don't recognize those small differences. |
| |
| |
| | | |
|
| | |
| |
| Publicado el 03,diciembre 2017 - 12:01 |
Many thanks Guenter.
I will give it a try  |
| |
| |
| | | |
|
| | | | |
| | |
|