Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > General Coding
You last visited: Today at 11:50

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[PROBLEM]AutoIt Gui

Discussion on [PROBLEM]AutoIt Gui within the General Coding forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2010
Posts: 82
Received Thanks: 18
Arrow [PROBLEM]AutoIt Gui

Ich habe bereits einen fertigen Gui der so aussieht:


Und ich will jetzt folgendes einfügen:


Aber wo genau soll ich das einfügen. Es kommt immer entweder ein Error also ich kann den Script gar net starten oder es passiert nix wenn ich auf den Button drücke.
Höllenbestie is offline  
Old 11/05/2010, 20:06   #2
 
elite*gold: 0
Join Date: Feb 2009
Posts: 542
Received Thanks: 112
PHP Code:
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>

#Region ### START Koda GUI section ### Form=
$Form1 GUICreate("M2 GM Helper by Höllenbestie"307138192114)
$Label1 GUICtrlCreateLabel("Wähle deine Klasse aus, um fortzufahren:"32824720)
GUICtrlSetFont(-1104000"MS Sans Serif")
$Button1 GUICtrlCreateButton("Krieger"83275250)
$Button2 GUICtrlCreateButton("Ninja"86475250)
$Button3 GUICtrlCreateButton("Sura"2243275250)
$Button4 GUICtrlCreateButton("Schamane"2246475250)
$Label2 GUICtrlCreateLabel("by Höllenbestie from elitepvpers.com!"6411217217)
GUICtrlSetBkColor(-10xFF0000)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg 
GUIGetMsg()
    Switch 
$nMsg
        
Case $GUI_EVENT_CLOSE
            
Exit
    case 
$button1
_button1
()

EndSwitch
WEnd


Func _button1
()
;
deine funktion

Endfunc 
maxi39 is offline  
Old 11/05/2010, 20:53   #3
 
elite*gold: 42
Join Date: Jun 2008
Posts: 5,425
Received Thanks: 1,888
Ach, hier ist die autoit sektion? wär mir neu :>
MoepMeep is offline  
Old 11/05/2010, 22:08   #4
 
elite*gold: 0
Join Date: Oct 2010
Posts: 82
Received Thanks: 18
Achso.... S0rry hatte nur STRF+F un dann Coding eingegeben Sry
Höllenbestie is offline  
Old 11/06/2010, 10:50   #5
 
.BritainAndy's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 1,385
Received Thanks: 1,006
case button1
deine anweisungen

case button2

usw
.BritainAndy is offline  
Reply




All times are GMT +1. The time now is 11:50.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.