Hallo nochmals zusammen, ich habe da noch ein kleines problem, und zwar mit dem GUICtrlCreateLabel.
Wenn ich es z.B. ins GUICtrlCreateTab schreibe kommt so ein sch*** raus, kann man das irgendwie vermeiden.
Das ist auch beim GUICtrlCreatePic so wenn ich es alls Hintergrund nehmen will, in einem Fenster, und ein Label darüber schreibe kommt auch so ein Ergebnis raus.
Spoiler anzeigen
#include <GUIConstants.au3>
[/autoit] [autoit][/autoit] [autoit]; Fenster
GUICreate("Test", 400, 350)
;Schrift
$font = "Cracked Johnnie"
GUICtrlCreateLabel("Nummer:", 20, 20, 120, 20)
GUICtrlSetColor(-1, 0xdebf6c)
GUICtrlSetFont(-1, 12, 400, 1, $font)
; Schrift_2
$label = GUICtrlCreateLabel("", 40, 90, 300, 20)
; Gurppe
GUICtrlCreateTab(10, 60, 380, 100)
; Button
$button = GUICtrlCreateButton("Nummer1", 10, 180, 100, 20)
$button2 = GUICtrlCreateButton("Nummer2", 120, 180, 100, 20)
GUISetState(@SW_SHOW)
[/autoit] [autoit][/autoit] [autoit]While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $button
GUICtrlSetData($label, "54654")
Case $button2
GUICtrlSetData($label, "76564")
EndSwitch
WEnd