Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 09:49

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

Advertisement



GUI/koda .... Frage zu Tabelle/ListView

Discussion on GUI/koda .... Frage zu Tabelle/ListView within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
mo.tennis's Avatar
 
elite*gold: 0
Join Date: Feb 2010
Posts: 178
Received Thanks: 4
Exclamation GUI/koda .... Frage zu Tabelle/ListView

Hi, ich mal wieder .... ich wollt ma fragen, ob es möglich ist eine exel tabelle in einen gui einzufügen?...oder ob es möglich ist in einem listview die liste alphabetisch zu ordnen o.O
dann wollte ich noch fragen, wie ich denn nun zb einen namen aus einem listview in verschiedene Tabellen grupppen
sgen wir ich hab eine tabelle mit 3 gruppen

und 3 inputboxen mit nem button

und wenn ich den button drück soll er den namen zur tabellen gruppe name hinzufügen, usw

und wie soll jetzt das

Case $ADD

aussehen?

also

Code:
While 1
	$nMsg = GUIGetMsg()
	Switch $nMsg
		Case $GUI_EVENT_CLOSE
			Exit
		Case $ADD
			GUICtrlCreateListViewItem ($NameInput,$listview)
	EndSwitch
WEnd
hab ich... doch wenn ich das mache kommt bei name nur ne 4 -.-?
warum....
wie muss der befehel seinund wenn ich das habe....wie ´schaffe ich das, dass der nächste zu Alter geht
??

ja ich weiß ein haufen fragen

doch ich hoffe ihr könnt mir helfen
hat ja bis jetzt hier immer gut geklappt :d
schonmal danke im vorraus....und an alle die VERSUCHEN mir zu helfen geht ein thanks :d

mfg mo
mo.tennis is offline  
Old 10/18/2012, 16:33   #2

 
BladeTiger12's Avatar
 
elite*gold: 64
Join Date: May 2011
Posts: 1,228
Received Thanks: 847
Du musst GUICtrlRead hinzufügen:
PHP Code:
#include <GUIConstantsEx.au3>
#include <GUIListBox.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form2 GUICreate("Form2"405294320318)
$listview GUICtrlCreateListView ("Name|Alter|Adresse"17616209257)
$NameInput =  GUICtrlCreateInput (""161613721)
$AlterInput GUICtrlCreateInput (""164813721)
$AdressesInput GUICtrlCreateInput ("",168013721)
$ADD GUICtrlCreateButton("ADD"16112145161)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###



While 1
    $nMsg 
GUIGetMsg()
    Switch 
$nMsg
        
Case $GUI_EVENT_CLOSE
            
Exit
        Case 
$ADD
            GUICtrlCreateListViewItem 
(GUICtrlRead($NameInput),$listview)
    EndSwitch
WEnd 
BladeTiger12 is offline  
Thanks
1 User
Old 10/18/2012, 17:03   #3
 
mo.tennis's Avatar
 
elite*gold: 0
Join Date: Feb 2010
Posts: 178
Received Thanks: 4
danke schonmal für deine antwort....doch was ist mit

Quote:
Originally Posted by mo.tennis View Post
wie ´schaffe ich das, dass der nächste zu Alter geht?
mo.tennis is offline  
Old 10/18/2012, 17:22   #4

 
Njahs's Avatar
 
elite*gold: 574
Join Date: Nov 2010
Posts: 2,498
Received Thanks: 726
Quote:
Originally Posted by mo.tennis View Post
danke schonmal für deine antwort....doch was ist mit
Code:
GUICtrlCreateListViewItem (GUICtrlRead($NameInput) & "|15|MusterStraße 5",$listview)
Njahs is offline  
Thanks
1 User
Old 10/18/2012, 17:25   #5
 
mo.tennis's Avatar
 
elite*gold: 0
Join Date: Feb 2010
Posts: 178
Received Thanks: 4
danke werd ich ausprobieren

und was ist mit meinem ersten satz ....
nochmals danke für eure mühen .... :d.....das ist einfach das beste forum....hier wird einem immer geholfen :d


Edit: so ich versteh das noch nich so ganz...was bedeutet das &....und warum 15....kannste mir mal ein beispiel machen, dass er den text aus der inputbox $NameInput unter name legt den text aus $AlterInput unter Alter hinterlegt und den text aus $AdresseInput unter Adresse hinterlegt...danke

mfg mo

#push
keiner?
mo.tennis is offline  
Reply


Similar Threads Similar Threads
ListView Tabelle ordnen
10/08/2011 - AutoIt - 6 Replies
ich hab bisher noch nie mit ListViews gearbeitet. So sieht das ganze derweilen aus: #include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #Include <File.au3> #include <GUiListview.au3>
Tabelle mit Koda
05/20/2011 - AutoIt - 1 Replies
Hi, ich wollte mal fragen ob jemand weiß wie/ob man so eine Tabelle mit Koda erstellen kann: http://imageshack.us/photo/my-images/8/tabelleg.p ng/
Koda Frage
05/12/2010 - AutoIt - 2 Replies
Hi ich hab eine Frage zu Koda. Ich hatte mir mal ein Tut angesehen, in dem man ein Hintergrundbild so einstellt, dass man weiterhin Buttons etc. bedienen kann, was sonst nicht ging. So... Der Code sah ungefähr so aus vom Pic: $bgpic = GUICtrlCreatePic("C:\Users\User\Desktop\Autoi t\Pics\bgpic.jpg", 0, 0, 809, 529, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS,$Ws_Di sabled)) wenn ich jetzt versuche den text in Koda zu importen, kommt ein Fehler: Koda is unable to open this form, parser...
Frage zu Koda!
02/28/2010 - AutoIt - 4 Replies
Hallo Guys ich wollt mal wieder ein kleines Programm machen und wollte fragen, ob Koda auch solche Fenster mit einbeziehn kann: http://www2.pic-upload.de/27.02.10/dbkfablbck7r.j pg Wenn man halt auf die Datei klickt, die man möchte, solle der Pfad in der zugehörigen Inputbox rein. Sag schonmal Danke im vorraus (::handsdown: LG -Marks-
Koda Frage !
02/07/2010 - AutoIt - 10 Replies
Also ich will in mein Gui ein Process anzeigen der dann einen HP Wert aus einem Spiel ausließt! Und den Style will ich auch ändern aber keine ahnung wie das geht !



All times are GMT +2. The time now is 09:49.


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