Bea Posted May 10, 2018 Share Posted May 10, 2018 Hey i would like to make a main menu but i have no clue how make it #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #Region ### START Koda GUI section ### Form= $Form2 = GUICreate("Form2", 405, 120, 191, 120) $MenuItem2 = GUICtrlCreateMenu("Main menu") $MenuItem1 = GUICtrlCreateMenu("Settings") GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd this is the cod, i would like if someone klicks "Settig" there shoud come a other form with a button for example ? Link to comment Share on other sites More sharing options...
mikell Posted May 10, 2018 Share Posted May 10, 2018 Suggestion : read again the GUICtrlCreateMenu page and try to run the sample script Link to comment Share on other sites More sharing options...
Zedna Posted May 10, 2018 Share Posted May 10, 2018 Koda supports creating (main and also popup) menus too. Just place main menu icon on your form and by doubleclick on it open visual menu editor ... Then Koda will generate apropriate AU3 menu code for you ... Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now