Hallo an alle,
ich bin grade dabei wieder ein wenig zu üben und hätte da auch gleich wieder eine Frage
[autoit]#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 625, 443, 192, 124)
$zuruck = GUICtrlCreateButton("<---------", 24, 88, 225, 57, $WS_GROUP)
$vor = GUICtrlCreateButton("--------->", 368, 88, 217, 57, $WS_GROUP)
$Label1 = GUICtrlCreateLabel("Label1", 192, 264, 266, 33)
GUICtrlSetFont(-1, 18, 800, 0, "Arial Narrow")
GUICtrlSetColor(-1, 0xFFFFFF)
GUICtrlSetBkColor(-1, 0x000000)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
#include <Array.au3>
Local $avArray[10]
$avArray[0] = "JPM"
$avArray[1] = "Holger"
$avArray[2] = "Jon"
$avArray[3] = "Larry"
$avArray[4] = "Jeremy"
$avArray[5] = "Valik"
$avArray[6] = "Cyberslug"
$avArray[7] = "Nutster"
$avArray[8] = "JdeB"
$avArray[9] = "Tylo"
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
case $zuruck
[/autoit][autoit][/autoit][autoit][/autoit][autoit]Case $vor
[/autoit][autoit][/autoit][autoit][/autoit][autoit][/autoit][autoit]EndSwitch
WEnd
Ich will das wenn ich vorwärts drücke das er mir nach der reihe die Namen in den Label einträgt. Wie so ein vorwärts rückwärts Knopf an der Fernbedienung. Ich habe schon einiges versucht jedoch bin ich immer wieder gescheitert
Kann mir da vllt. einer weiter helfen ?