Hallo miteinander,
beim Befehl / Macro: GUICtrlCreateCheckbox kann ich einen Text angeben, doch leider schaffe ich es nicht einen Zeilenumbruch hinein zu bauen.
Kann es sein das es das bei dem Element nicht gibt?
Wenn doch wäre ich über ein Hilfe sehr dankbar.
Das ist mein Test Code:
C
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
HotKeySet("{ESC}", _EXIT)
Example()
While 1
Sleep(100)
WEnd
EXIT
Func Example()
; GUI Erstellen
Local $hGUI = GUICreate("Example", 300, 200)
; Checkbox Erstellen "text" , left, top [, width [, height
Local $idCheckbox_1 = GUICtrlCreateCheckbox("Standard " & @CR & " Checkbox", 10 , 10 , 80 , 50)
Local $idCheckbox_1 = GUICtrlCreateCheckbox("Standard " & @CRLF & " Checkbox", 10 , 60 , 80 , 50)
Local $idCheckbox_1 = GUICtrlCreateCheckbox("Standard " & @LF & " Checkbox", 10 , 110 , 80 , 50)
GUISetState(@SW_SHOW)
EndFunc ;==>Example
Func _EXIT()
Exit
EndFunc ;==>_IsChecked
Alles anzeigen
Gruß Mücke