Huhu leute ,
bin noch neu in der au3 szene und hab ma was zum üben gemacht doch komme schon am anfang nicht mehr weiter , da ich nicht weiß wie man auslesen kann welche Radiobox gerade benuzt wurde und dies dann mit dem Klickbutton verbindet...(wie gesagt ist nur was um zu üben hat keinen tieferen sinn der spaß :P)
Habe das ganze schon ohne Race-choose hinbekommen wollte es nun aber bissl erweitern.
bin noch neu in der au3 szene und hab ma was zum üben gemacht doch komme schon am anfang nicht mehr weiter , da ich nicht weiß wie man auslesen kann welche Radiobox gerade benuzt wurde und dies dann mit dem Klickbutton verbindet...(wie gesagt ist nur was um zu üben hat keinen tieferen sinn der spaß :P)
Habe das ganze schon ohne Race-choose hinbekommen wollte es nun aber bissl erweitern.
//Google hat auch keine informativen Threads herausgegebenQuote:
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
Opt("GUIOnEventMode", 1)
#Region ### START Koda GUI section ### Form=c:\dokumente und einstellungen\pwn_age55\eigene dateien\rnd cahr creator erweitert.kxf
$Form1_1 = GUICreate("draky´s rnd char", 610, 571, 200, 250)
GUISetOnEvent($GUI_EVENT_CLOSE, "CLOSEClicked")
GUICtrlCreateInput("", 216, 456, 145, 21)
$Label1 = GUICtrlCreateLabel("Charname", 256, 432, 68, 17)
$Button1 = GUICtrlCreateButton("Create", 240, 496, 81, 33)
$Button2 = GUICtrlCreateButton("End", 488, 520, 65, 25, 0)
$Alliance = GUICtrlCreateLabel("Alliance", 88, 40, 41, 17)
$Horde = GUICtrlCreateLabel("Horde", 464, 48, 33, 17)
$Human = GUICtrlCreateRadio("Human", 72, 88, 113, 17)
$Dwarf = GUICtrlCreateRadio("Dwarf", 72, 136, 113, 17)
$Gnome = GUICtrlCreateRadio("Gnome", 72, 184, 113, 17)
$Nightelf = GUICtrlCreateRadio("Nightelf", 72, 232, 113, 17)
$Draenei = GUICtrlCreateRadio("Draenei", 72, 280, 113, 17)
$Orc = GUICtrlCreateRadio("Orc", 432, 88, 113, 17)
$Troll = GUICtrlCreateRadio("Troll", 432, 136, 113, 17)
$Tauren = GUICtrlCreateRadio("Tauren", 432, 184, 113, 17)
$Scourge = GUICtrlCreateRadio("Scourge", 432, 232, 113, 17)
$Bloodelf = GUICtrlCreateRadio("Bloodelf", 432, 280, 113, 17)
GUISetState(@SW_Show)
#EndRegion ### END Koda GUI section ###
GUICtrlSetOnEvent ($Button1,"Create")
While 1
Sleep(100)
WEnd
Func CLOSEClicked()
Exit
EndFunc