hey leute.
hab totales blackout grade und daher folgende frage:
wie stell ich es ein,wenn ich 2 groupboxen mit jeweils 2 radios drin hab,
sodass bei beidem jeweils eins ausgelesen werden kann
script:
//so nochmal bis jetzt mein script.
also ich meine folgendes:
ich habe 2 groups á 2 radios.
ich weiß,wie man radios ausließt,aber nur wenn nur eines ausgewählt werden kann
in dem fall können aber 2 ausgewählt werden,versteht ihr? xD
also entweder ist das total tricky. oder ich steh einfach aufm schlauch oO
hab totales blackout grade und daher folgende frage:
wie stell ich es ein,wenn ich 2 groupboxen mit jeweils 2 radios drin hab,
sodass bei beidem jeweils eins ausgelesen werden kann
script:
thanks guys.Quote:
#Region ### START Koda GUI section ### Form=c:\dokumente und einstellungen\pwn_age55\eigene dateien\s1-gamebot.kxf
$Form1_1 = GUICreate("s1 q-bot ", 465, 362, 662, 370)
GUISetBkColor(0xA6CAF0)
$Label1 = GUICtrlCreateLabel("S1_GAME-BOT ", 144, 8, 179, 24)
GUICtrlSetFont(-1, 12, 800, 0, "MS Sans Serif")
GUICtrlSetColor(-1, 0x000080)
$Button1 = GUICtrlCreateButton("push me!", 160, 296, 145, 33, 0)
$Button2 = GUICtrlCreateButton("end.", 352, 320, 73, 25, 0)
$Radio1 = GUICtrlCreateRadio("1650*1080", 272, 168, 113, 17)
$Radio2 = GUICtrlCreateRadio("1280*1024", 272, 208, 113, 17)
$Group1 = GUICtrlCreateGroup("Auflösung", 248, 144, 177, 97)
GUICtrlCreateGroup("", -99, -99, 1, 1)
$Group2 = GUICtrlCreateGroup("browser.", 40, 144, 177, 97)
$Radio3 = GUICtrlCreateRadio("FireFox", 64, 168, 113, 17)
$Radio4 = GUICtrlCreateRadio("I-Exlporer", 64, 208, 113, 17)
GUICtrlCreateGroup("", -99, -99, 1, 1)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
go ()
Case $Button2
Exit
EndSwitch
WEnd
func go ()
$ausgabe1 = $Radio1 And BitAND(GUICtrlRead($Radio1), $GUI_CHECKED) = $GUI_CHECKED
$ausgabe2 = $Radio2 And BitAND(GUICtrlRead($Radio2), $GUI_CHECKED) = $GUI_CHECKED
$ausgabe3 = $Radio3 And BitAND(GUICtrlRead($Radio3), $GUI_CHECKED) = $GUI_CHECKED
$ausgabe4 = $Radio4 And BitAND(GUICtrlRead($Radio4), $GUI_CHECKED) = $GUI_CHECKED
...
//so nochmal bis jetzt mein script.
also ich meine folgendes:
ich habe 2 groups á 2 radios.
ich weiß,wie man radios ausließt,aber nur wenn nur eines ausgewählt werden kann
in dem fall können aber 2 ausgewählt werden,versteht ihr? xD
also entweder ist das total tricky. oder ich steh einfach aufm schlauch oO