Hallo ich habe eine Frage.
Ich hatte mal Lust mir ein kleines GUI zu erstellen
Nun ja ich weiß nicht was ich machen soll damit er was anderes anzeigt wenn ich zb tabsheet 1 oder 2 klicke deswegen habe ich erst einmal 2 völlig unabhängige geschaffen
udn das andere sollte eig als tabsheet in das andere mit rein
nun ja ich zeige euch mal die koda codes...
Ach ja es geht mir wie ich es im KODA schaffe im Code weiß ich wie es geht...!
1.
UND der code sollte eig als tabsheet beim anderen mit rein...
Ich hatte mal Lust mir ein kleines GUI zu erstellen
Nun ja ich weiß nicht was ich machen soll damit er was anderes anzeigt wenn ich zb tabsheet 1 oder 2 klicke deswegen habe ich erst einmal 2 völlig unabhängige geschaffen
udn das andere sollte eig als tabsheet in das andere mit rein
nun ja ich zeige euch mal die koda codes...
Ach ja es geht mir wie ich es im KODA schaffe im Code weiß ich wie es geht...!
1.
PHP Code:
#include <GUIConstants.au3>
#Region ### START Koda GUI section ### Form=C:\Dokumente und Einstellungen\Obst\Desktop\BOT.kxf
$Form1 = GUICreate("Form1", 415, 530, 193, 126)
$Button1 = GUICtrlCreateButton("Start", 280, 224, 89, 33, 0)
$Button2 = GUICtrlCreateButton("Update", 112, 208, 97, 33, 0)
$Button3 = GUICtrlCreateButton("Anpassen", 112, 312, 97, 33, 0)
$Button4 = GUICtrlCreateButton("Beenden", 112, 416, 97, 33, 0)
$Group1 = GUICtrlCreateGroup("Start Bot", 240, 184, 169, 281)
$Label1 = GUICtrlCreateLabel("Runden->Verkaufen", 248, 272, 100, 17)
$Input2 = GUICtrlCreateInput("Input2", 360, 296, 25, 21)
$Label2 = GUICtrlCreateLabel("Runden->Geld->Truhe", 248, 296, 110, 17)
$Input3 = GUICtrlCreateInput("Input3", 360, 320, 25, 21)
$Label3 = GUICtrlCreateLabel("Runden->Pause", 248, 320, 81, 17)
$Label4 = GUICtrlCreateLabel("Pause:", 248, 344, 37, 17)
$Radio1 = GUICtrlCreateRadio("Radio1", 248, 376, 17, 17)
$Radio2 = GUICtrlCreateRadio("Radio2", 248, 408, 17, 17)
$Radio3 = GUICtrlCreateRadio("Radio3", 248, 440, 17, 17)
$Label5 = GUICtrlCreateLabel("->gh", 272, 376, 25, 17)
$Label6 = GUICtrlCreateLabel("->/zrank", 264, 408, 44, 17)
$Label7 = GUICtrlCreateLabel("->/afk", 264, 440, 33, 17)
$Radio4 = GUICtrlCreateRadio("Radio4", 320, 376, 17, 17)
$Radio5 = GUICtrlCreateRadio("Radio5", 320, 408, 17, 17)
$Radio6 = GUICtrlCreateRadio("Radio6", 320, 440, 17, 17)
$Label8 = GUICtrlCreateLabel("->/dance", 336, 376, 48, 17)
$Label9 = GUICtrlCreateLabel("->/borrowed", 336, 408, 62, 17)
$Label10 = GUICtrlCreateLabel("->/point", 336, 440, 41, 17)
GUICtrlCreateGroup("", -99, -99, 1, 1)
$Group2 = GUICtrlCreateGroup("Nach einem Gw Update", 80, 184, 153, 73)
GUICtrlCreateGroup("", -99, -99, 1, 1)
$Group3 = GUICtrlCreateGroup("Anpassen->GW Fenster", 80, 288, 153, 73)
GUICtrlCreateGroup("", -99, -99, 1, 1)
$Group4 = GUICtrlCreateGroup("Beenden des Bots", 80, 392, 153, 73)
GUICtrlCreateGroup("", -99, -99, 1, 1)
$Skillcode = GUICtrlCreateInput("Skillcode", 112, 480, 121, 21)
$Build = GUICtrlCreateLabel("Build", 80, 480, 27, 17)
$Tab1 = GUICtrlCreateTab(0, 160, 417, 17)
GUICtrlSetResizing(-1, $GUI_DOCKWIDTH+$GUI_DOCKHEIGHT)
GUICtrlCreateTabItem("Start")
$TabSheet2 = GUICtrlCreateTabItem("TabSheet2")
GUICtrlSetState(-1,$GUI_SHOW)
GUICtrlCreateTabItem("")
GUICtrlSetCursor (-1, 0)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Tab1
EndSwitch
WEnd
UND der code sollte eig als tabsheet beim anderen mit rein...
PHP Code:
#include <GUIConstants.au3>
#Region ### START Koda GUI section ### Form=C:\Dokumente und Einstellungen\Obst\Desktop\MIT REIN.kxf
$Form2 = GUICreate("Form2", 419, 544, 609, 154)
$Group1 = GUICtrlCreateGroup("Coords", 56, 176, 313, 201)
$Label1 = GUICtrlCreateLabel("Label1", 424, 232, 36, 17)
$Label2 = GUICtrlCreateLabel("Coordinate X", 152, 192, 65, 17)
$Label3 = GUICtrlCreateLabel("Coordinate Y", 264, 192, 65, 17)
$Label4 = GUICtrlCreateLabel("Ident Werkzeug", 64, 216, 80, 17)
$Input1 = GUICtrlCreateInput("Input1", 168, 216, 25, 21)
$Input2 = GUICtrlCreateInput("Input2", 280, 216, 25, 21)
$Input3 = GUICtrlCreateInput("Input3", 168, 248, 25, 21)
$Input4 = GUICtrlCreateInput("Input4", 280, 248, 25, 21)
$Input5 = GUICtrlCreateInput("Input5", 168, 280, 25, 21)
$Input6 = GUICtrlCreateInput("Input6", 280, 280, 25, 21)
$Input7 = GUICtrlCreateInput("Input7", 168, 312, 25, 21)
$Input8 = GUICtrlCreateInput("Input8", 280, 312, 25, 21)
$Input9 = GUICtrlCreateInput("Input9", 168, 344, 25, 21)
$Input10 = GUICtrlCreateInput("Input10", 280, 344, 25, 21)
$Label5 = GUICtrlCreateLabel("Kaufen-Tab", 64, 248, 60, 17)
$Label6 = GUICtrlCreateLabel("Verkaufen Tab", 64, 280, 75, 17)
$Label7 = GUICtrlCreateLabel("VERKAUFEN", 64, 312, 69, 17)
$Label8 = GUICtrlCreateLabel("KAUFEN", 64, 344, 47, 17)
GUICtrlCreateGroup("", -99, -99, 1, 1)
$Group2 = GUICtrlCreateGroup("WICHTIG/IMPORTANT", 56, 392, 313, 129)
$Label9 = GUICtrlCreateLabel("", 64, 408, 4, 4)
$Label10 = GUICtrlCreateLabel("Ihr könnt die Werte in den Coords Boxen so lassen, falls ihr", 72, 408, 281, 17)
$Label11 = GUICtrlCreateLabel("euer Interface so ausrichtet wie meins auf den Bildern, aber ", 72, 424, 286, 17)
$Label12 = GUICtrlCreateLabel("vorher BITTE anpassen klicken. Danke.", 72, 440, 195, 17)
$Label13 = GUICtrlCreateLabel("Checkliste:", 72, 464, 56, 17)
$Label14 = GUICtrlCreateLabel("Ausrüstung und Build geladen", 136, 464, 145, 17)
$Label15 = GUICtrlCreateLabel("Außenposten und Interface nach eurem belieben eingerichet", 64, 480, 298, 17)
$Label16 = GUICtrlCreateLabel("S.O", 64, 496, 22, 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 $Form2
Case $Form2
Case $Form2
EndSwitch
WEnd