Wie im Bild ersichtlich wird das &-Zeichen zu einem _ (Unterstrich) unter den nächsten Buchstaben.
Wie kommt das und wie behebe ich das?
[Blockierte Grafik: http://t.imgbox.com/acs4IwD4.jpg]
Test code
#include <GUIConstantsEx.au3>
[/autoit] [autoit][/autoit] [autoit]Example()
[/autoit] [autoit][/autoit] [autoit]Func Example()
Local $widthCell, $msg, $iOldOpt
GUICreate("My GUI") ; will create a dialog box that when displayed is centered
[/autoit] [autoit][/autoit] [autoit]GUISetHelp("notepad.exe") ; will run notepad if F1 is typed
$iOldOpt = Opt("GUICoordMode", 2)
$widthCell = 70
GUICtrlCreateLabel("XXXXX&XXXXX", 10, 30, $widthCell) ; first cell 70 width
GUICtrlCreateLabel("XXXXX&&XXXXX", 10, 30, $widthCell) ; first cell 70 width
GUICtrlCreateLabel("XXXXX&&&XXXXX", 10, 30, $widthCell) ; first cell 70 width
GUISetState() ; will display an empty dialog box
[/autoit] [autoit][/autoit] [autoit]; Run the GUI until the dialog is closed
Do
$msg = GUIGetMsg()
Until $msg = $GUI_EVENT_CLOSE
$iOldOpt = Opt("GUICoordMode", $iOldOpt)
EndFunc ;==>Example