Achilles Posted August 15, 2008 Share Posted August 15, 2008 The & symbol is used for keyboard shortcuts on buttons usually (from what I know)... How can I make it so that it doesn't appear on a label? #include <GUIConstantsEx.au3> GUICreate("My GUI") ; will create a dialog box that when displayed is centered GUICtrlCreateLabel("I want to show this & symbol", 10, 30, 100, 30); first cell 70 width GUISetState() ; will display an empty dialog box ; Run the GUI until the dialog is closed Do $msg = GUIGetMsg() Until $msg = $GUI_EVENT_CLOSE My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Link to comment Share on other sites More sharing options...
Andreik Posted August 15, 2008 Share Posted August 15, 2008 (edited) The & symbol is used for keyboard shortcuts on buttons usually (from what I know)... How can I make it so that it doesn't appear on a label? #include <GUIConstantsEx.au3> GUICreate("My GUI"); will create a dialog box that when displayed is centered GUICtrlCreateLabel("I want to show this & symbol", 10, 30, 100, 30); first cell 70 width GUISetState(); will display an empty dialog box ; Run the GUI until the dialog is closed Do $msg = GUIGetMsg() Until $msg = $GUI_EVENT_CLOSE For me is some shortcut for underline. Try this: #include <GUIConstantsEx.au3> GUICreate("My GUI"); will create a dialog box that when displayed is centered GUICtrlCreateLabel("I want to show this && symbol", 10, 30, 200, 30); first cell 70 width GUISetState() ; will display an empty dialog box ; Run the GUI until the dialog is closed Do $msg = GUIGetMsg() Until $msg = $GUI_EVENT_CLOSE Edited August 15, 2008 by Andreik When the words fail... music speaks. Link to comment Share on other sites More sharing options...
Achilles Posted August 15, 2008 Author Share Posted August 15, 2008 For me is some shortcut for underline. Try this: #include <GUIConstantsEx.au3> GUICreate("My GUI"); will create a dialog box that when displayed is centered GUICtrlCreateLabel("I want to show this && symbol", 10, 30, 200, 30); first cell 70 width GUISetState(); will display an empty dialog box ; Run the GUI until the dialog is closed Do $msg = GUIGetMsg() Until $msg = $GUI_EVENT_CLOSEThat works great, thanks! My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] 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