jlorenz1 Posted August 9, 2005 Share Posted August 9, 2005 Is it possible to disyplay a "&" Character on GUI? For example: I want title a start group Search & Replace, but i get always an underscore"_". I treid with && and other things, that doesn't work. I know, that there will be solution. Thanks. Johannes Johannes LorenzBensheim, Germanyjlorenz1@web.de[post="12602"]Highlightning AutoIt Syntax in Notepad++ - Just copy in your Profile/application data/notepad++[/post] Link to comment Share on other sites More sharing options...
CyberSlug Posted August 9, 2005 Share Posted August 9, 2005 && is supposed to work.... Post an example of your code, please. Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Link to comment Share on other sites More sharing options...
jlorenz1 Posted August 9, 2005 Author Share Posted August 9, 2005 && is supposed to work.... Post an example of your code, please.<{POST_SNAPBACK}>[/quotFor example#include <GUIConstants.au3>GUICreate("My GUI group") GUICtrlCreateGroup ("SEARCH &&REPLACE", 190, 60, 90, 140)$radio_1 = GUICtrlCreateRadio ("Radio 1", 210, 90, 50, 20)$radio_2 = GUICtrlCreateRadio ("Radio 2", 210, 110, 60, 50)GUICtrlCreateGroup ("",-99,-99,1,1) ;close groupGUISetState () While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then ExitLoopWendSHOWS ALWAYS SEARCH REPLACE Johannes LorenzBensheim, Germanyjlorenz1@web.de[post="12602"]Highlightning AutoIt Syntax in Notepad++ - Just copy in your Profile/application data/notepad++[/post] Link to comment Share on other sites More sharing options...
Josbe Posted August 9, 2005 Share Posted August 9, 2005 #include <GUIConstants.au3> GUICreate("My GUI group") GUICtrlCreateGroup ("SEARCH && R&EPLACE", 190, 60, 90, 140) $radio_1 = GUICtrlCreateRadio ("Radio &1", 210, 90, 50, 20) $radio_2 = GUICtrlCreateRadio ("Radio &2", 210, 110, 60, 50) GUICtrlCreateGroup ("",-99,-99,1,1);close group GUISetState () While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then ExitLoop WendSearch and replace. AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta Link to comment Share on other sites More sharing options...
LxP Posted August 10, 2005 Share Posted August 10, 2005 There's also the $SS_NOPREFIX prefix which can be added into the style string of any label/static control. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted August 10, 2005 Moderators Share Posted August 10, 2005 (edited) #include <GUIConstants.au3> GUICreate("My GUI group") GUICtrlCreateGroup ("SEARCH && R&EPLACE", 190, 60, 90, 140) $radio_1 = GUICtrlCreateRadio ("Radio &1", 210, 90, 50, 20) $radio_2 = GUICtrlCreateRadio ("Radio &2", 210, 110, 60, 50) GUICtrlCreateGroup ("",-99,-99,1,1);close group GUISetState () While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then ExitLoop WendSearch and replace. <{POST_SNAPBACK}>OR There's also the $SS_NOPREFIX prefix which can be added into the style string of any label/static control.Edit: Forgot "/" for ending of quote OR#include <GUIConstants.au3> GUICreate("My GUI group") GUICtrlCreateGroup ('SEARCH' & " && " & 'REPLACE', 190, 60, 90, 140) $radio_1 = GUICtrlCreateRadio ("Radio &1", 210, 90, 50, 20) $radio_2 = GUICtrlCreateRadio ("Radio &2", 210, 110, 60, 50) GUICtrlCreateGroup ("",-99,-99,1,1);close group GUISetState () While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then ExitLoop WendOR#include <GUIConstants.au3> GUICreate("My GUI group") GUICtrlCreateGroup ('SEARCH &&& REPLACE', 190, 60, 90, 140) $radio_1 = GUICtrlCreateRadio ("Radio &1", 210, 90, 50, 20) $radio_2 = GUICtrlCreateRadio ("Radio &2", 210, 110, 60, 50) GUICtrlCreateGroup ("",-99,-99,1,1);close group GUISetState () While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then ExitLoop Wend^^^ Think this is what Cyberslug was going after but three &&& Edited August 10, 2005 by ronsrules Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. 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