@jsp, You might want to see this as the 'bug' was found while using LogicGui.
I simplified the code for the bug report but the generated source reads :
Seems windowmenus (menus which attach to windows rather than attach to other menus) screw up with hotkeys.
I simplified the code for the bug report but the generated source reads :
'Source Code created on 31 Jan 2007 22:33:50 with Logic Gui Version 1.2 Build 165 'John Doe 'Start of external Header File SuperStrict 'End Of external Header File Local Logic_Gui:TGadget = CreateWindow:TGadget("Logic_Gui",216,77,441,419,Null,WINDOW_TITLEBAR|WINDOW_RESIZABLE |WINDOW_MENU |WINDOW_STATUS |WINDOW_CLIENTCOORDS ) Local Logic_Gui_hottest:TGadget = CreateMenu( "hottest" , 100 , WindowMenu( Logic_Gui:TGadget ), KEY_B, 0 ) UpdateWindowMenu( Logic_Gui:TGadget ) Repeat WaitEvent() Select EventID() Case EVENT_WINDOWCLOSE Select EventSource() Case Logic_Gui Logic_Gui_WC( Logic_Gui:TGadget ) End Select Case EVENT_MENUACTION Select EventData() 'Menu_Events for Gadget = Logic_Gui End Select End Select Forever Function Logic_Gui_WC( Window:TGadget ) DebugLog "Window Logic_Gui wants to be closed" ' HideGadget( Window:TGadget ) 'Start source added by Function File 'End of source added by Function File End End Function 'Start of external Append File 'Your additional code should be here! 'End Of external Append File
Seems windowmenus (menus which attach to windows rather than attach to other menus) screw up with hotkeys.