billthecreator Posted May 22, 2007 Share Posted May 22, 2007 Does anyone know how to make it so that when creating a menu with edit;undo and there Ctrl+Z on the one side to make them all even. heres what i got... $filemenu = GUICtrlCreateMenu ("&File"); $new = GUICtrlCreateMenuitem ("Erase Board Ctrl+O",$filemenu); $open = GUICtrlCreateMenuitem ("Open Ctrl+O",$filemenu); $save = GUICtrlCreateMenuitem ("Save Ctrl+S", $filemenu); $separator1 = GUICtrlCreateMenuitem ("",$filemenu,4); $print = GUICtrlCreateMenuitem("Print Ctrl+P",$filemenu); $separator2 = GUICtrlCreateMenuitem ("",$filemenu,5); $separator3 = GUICtrlCreateMenuitem ("",$filemenu,6); $Fileexit = GUICtrlCreateMenuitem ("Exit Alt+F4",$filemenu); [font=Microsoft Sans Serif]My Scripts: From Most recent to least.[/font]Countdown GUI | QLOCK TWO | FlipClock | Slot Machine My UDF:_GenerateRandomNoRepeat | _GuiSnap Link to comment Share on other sites More sharing options...
Lazycat Posted May 23, 2007 Share Posted May 23, 2007 Does anyone know how to make it so that when creating a menu with edit;undo and there Ctrl+Z on the one side to make them all even. heres what i got...Just use tabs between text and hotkeys: $new = GUICtrlCreateMenuitem ("Erase Board" & @TAB & "Ctrl+O",$filemenu); $open = GUICtrlCreateMenuitem ("Open" & @TAB & "Ctrl+O",$filemenu); etc. Koda homepage ([s]Outdated Koda homepage[/s]) (Bug Tracker)My Autoit script page ([s]Outdated mirror[/s]) 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