Register for your free account! | Forgot your password?

You last visited: Today at 12:14

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

Advertisement



GUI frage

Discussion on GUI frage within the GW Bots forum part of the Guild Wars category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2009
Posts: 48
Received Thanks: 3
GUI frage

hab mir mal ein neue gui gemacht weil mein alter ein bissle primitiv aussah

Nr.1: Ich möchte den Input bei "Runden" auf Enabled=False stellen, WENN
Checkbox bei "Runden" Checked=True ist.

Nr.2: Wie bekomm ich einen Text in mehrere Reihen bei den Edit feldern ?


Hab keinen Publik-Bot gefunden der sowas hat...bez. habs im scribt ned gefunden
Zabrus is offline  
Old 04/10/2009, 15:22   #2
 
elite*gold: 20
Join Date: Feb 2007
Posts: 3,080
Received Thanks: 4,294
zu 1. wo ist die frage?
zu 2.GUICtrlCreateEdit, kannste mehrzeilig machen wie du lustig bist. ich denke du meintest eher die inputbox.

alternativ kann ich dir die autoit hilfe ans herz legen, in scite einfach mal f1 drücken und dort mal gui in die suche eingeben, dann hast du ne weile was zum lesen.

schon schade das du kein scipt gefunden hast wo du es rauskopieren konntest.
kknb is offline  
Old 04/10/2009, 15:29   #3
 
elite*gold: 0
Join Date: Mar 2009
Posts: 48
Received Thanks: 3
zu nr.1 Wie mach ich das ?
zu nr.2 ich geb euch mal den gui....ich meine rechts die box

Code:
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <TabConstants.au3>
#include <WindowsConstants.au3>

#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Guild Wars Vaettir Event Bot", 401, 351, 277, 141)
$Tab1 = GUICtrlCreateTab(8, 64, 385, 281)
GUICtrlSetResizing(-1, $GUI_DOCKWIDTH+$GUI_DOCKHEIGHT)
$TabSheet1 = GUICtrlCreateTabItem("Allgemeine Einstellungen")
$Group1 = GUICtrlCreateGroup("", 16, 88, 361, 249)
$Group2 = GUICtrlCreateGroup("Checkbox", 240, 104, 129, 225)
$Edit1 = GUICtrlCreateEdit("", 248, 120, 113, 201, BitOR($ES_AUTOVSCROLL,$ES_AUTOHSCROLL,$ES_READONLY,$ES_WANTRETURN))
GUICtrlSetData(-1, "Edit1")
GUICtrlCreateGroup("", -99, -99, 1, 1)
$Group3 = GUICtrlCreateGroup("Runden", 24, 104, 201, 41, $BS_CENTER)
$Input1 = GUICtrlCreateInput("", 32, 120, 73, 21, BitOR($ES_AUTOHSCROLL,$ES_NUMBER))
$Checkbox1 = GUICtrlCreateCheckbox("EndlosSchleife", 120, 120, 97, 17)
GUICtrlCreateGroup("", -99, -99, 1, 1)
$Group4 = GUICtrlCreateGroup("Benötigtes Build", 24, 208, 201, 57, $BS_CENTER)
$Edit2 = GUICtrlCreateEdit("", 32, 232, 185, 25, BitOR($ES_AUTOVSCROLL,$ES_AUTOHSCROLL,$ES_READONLY,$ES_WANTRETURN))
GUICtrlSetData(-1, "OwZTkY/8ZS6jHRnxlpBaCimUgBA")
GUICtrlCreateGroup("", -99, -99, 1, 1)
$Button1 = GUICtrlCreateButton("START", 56, 272, 137, 57, 0)
$Group5 = GUICtrlCreateGroup("Hotkey", 24, 152, 201, 49, $BS_CENTER)
$Label1 = GUICtrlCreateLabel("Beenden - [Ende]", 80, 168, 95, 17)
GUICtrlCreateGroup("", -99, -99, 1, 1)
GUICtrlCreateGroup("", -99, -99, 1, 1)
GUICtrlCreateTabItem("")
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
	$nMsg = GUIGetMsg()
	Switch $nMsg
		Case $GUI_EVENT_CLOSE
			Exit

	EndSwitch
WEnd
Zabrus is offline  
Old 04/10/2009, 15:34   #4
 
elite*gold: 20
Join Date: Feb 2007
Posts: 3,080
Received Thanks: 4,294
jo sag ich doch, einfach mal

GUICtrlCreateCheckbox und
GUICtrlCreateEdit

in die autoit hilfe eingeben, ist ja net so schwer, oder?
kknb is offline  
Old 04/10/2009, 15:41   #5
 
elite*gold: 0
Join Date: Mar 2009
Posts: 48
Received Thanks: 3
da hab ich nachgeschaut...und nix gefunden
bin auserdem ned der beste in englisch

/edit: hab auch im internet in der deutschen Funktionsreferenz nachgeschaut...da hab cih auch nix gefunden
Zabrus is offline  
Old 04/10/2009, 15:50   #6
 
elite*gold: 20
Join Date: Feb 2007
Posts: 3,080
Received Thanks: 4,294
ja dann hast du anscheinden nicht richtig geguckt...


kknb is offline  
Old 04/10/2009, 15:59   #7


 
buFFy!'s Avatar
 
elite*gold: 1826
Join Date: Mar 2009
Posts: 4,310
Received Thanks: 6,287
Es gibt ne Deutsche AutoIT Hilfe.. kknb hat sich so eine Mühe gegeben nix zu verraten..

Code:
GUICtrlSetState(-1, $GUI_DISABLE)
buFFy! is offline  
Old 04/10/2009, 16:03   #8
 
elite*gold: 20
Join Date: Feb 2007
Posts: 3,080
Received Thanks: 4,294
ja das habe ich mir abgewöhnt alles stück für stück vorzukauen, stichwörter sind ok...

irgendwo muss man ja selber mal bisl nachdenken, sonst lernt man ja nie was. es kommt sowieso gleich die frage wie man guisetstate einsetzen soll, oder wie man den status der box abfragt^^
kknb is offline  
Thanks
1 User
Old 04/10/2009, 16:12   #9
 
NBA's Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 1,874
Received Thanks: 213
PHP Code:
$nMSG GuiCtrlGetMsg()
GuiCtrlSetState($bla, @error
oder irgentwie so ne ?
NBA is offline  
Old 04/10/2009, 16:42   #10


 
buFFy!'s Avatar
 
elite*gold: 1826
Join Date: Mar 2009
Posts: 4,310
Received Thanks: 6,287
ne im gui einfach unter das control die zeile die ich gepostet hab und gut is o.O
buFFy! is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Frage zum 173mt2 geht net regestrieren wegen Zeichnung oder ist das frage.
04/02/2009 - Metin2 Private Server - 2 Replies
es geht einfach net.kann jemand helfen oder übersetzung geben bitte.



All times are GMT +1. The time now is 12:16.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.