Hallo
ich möchte gerne in meiner GUI mit Buttons (oder Bilder als Buttons) zwischen verschiedenen Sachen wechseln.
So wie mit Tabs (GUICtrlCreateTab).
Ich habs schon versucht aber es will nicht klappen.
Spoiler anzeigen
[autoit]
#include
#include
#include
$Form1 = GUICreate("Form1", 1025, 769, 190, 123)
$Button1 = GUICtrlCreateButton("Button1",8,8,41,41)
$Button2 = GUICtrlCreateButton("Button2",64, 8, 41, 41)
$Button3 = GUICtrlCreateButton("Button3",112, 8, 41, 41)
GUISetState(@SW_SHOW)
GUICtrlSetCursor($Button1,0)
GUICtrlSetCursor($Button2,0)
GUICtrlSetCursor($Button3,0)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
Case $Button2
[/autoit] [autoit][/autoit] [autoit]Case $Button3
[/autoit] [autoit][/autoit] [autoit]EndSwitch
WEnd