jlorenz1 Posted August 3, 2007 Share Posted August 3, 2007 (edited) ENGLISH.In short words: I've problems to insert an entry in a second listview ($SecListView). No errors in scite. The same thing with the first listview($listview) works correctly. The function _GUICtrlListViewInsertItem paste only an entry in the first column, not in the second. Tried different without success or an indice of the error. No return value with error. If you want to reproduce the error, (third tab) click the first/second item of the treeview. Some Radio-Controls will appear. Click one of them and then the little right button (square) at the bottom of the third tab. An ArrayDisplay shows the caption of the radio-control, which was checked. Close it. Afterwards you go on the fourth tab: In this listview you should see in Then first column the number of the job and in the second the caption of the checked control. In fact it shows only an entry in the first row. Johannes These lines of the script are important for you: 224-228 Creation of $SecListView 581-585 Call _GUICtrlListViewInsertItem to make an entry The others lines aren't relevant, but should show the context. Try to paste plain text in listview. It's the same problem GERMAN/DEUTSCH.Ganz kurz: Ich habe Probleme einen Eintrag in einer zweiten Listview ($SecListView) zu erstellen. In SCITEgibt es keine Fehlerhinweise und eine erste Listview ($listview) funktioniert tadellos.Die Funktion _GUICtrlListViewInsertItem fügt nur in die erste, nicht aber in die zweite Spalte etwas ein. Probierte verschiedenes ohne Erfolg oder einen Hinweis auf den Fehler. Der Rückgabewert meldet keinen Fehler. Fehler reprodzieren. Klicke auf dem 3.Tab das erste oder zweite Element des Treeviews an. Darauf erscheinen rechts Optionsfelder (Radiobuttons). Klicke eines davon an und gehe unten rechts im Tab auf den rechten quadratischen Button. Ein Arraydisplay erscheint mit der Beschriftung des angeklickten Radiobutton. Schliesse es und gehe auf den 4.Tab in dieser Listview sollten in der ersten Spalte die Reihenfolge und in der zweiten Spalte die Beschriftung des angeklickten Radiobuttons erscheinen. In der zweiten Spalte erscheint jedoch nichts!! Diese Skriptzeilen sind wichtig für Dich: 224-228 Erstellung des $SecListView 581-585 Aufruf von _GUICtrlListViewInsertItem, um einen Eintrag in $SecListView zu machen Die anderen Zeilen sind nicht relevant, sind aber für den Kontext vielleicht erforderlich. Probiert es mit dem Einfügen eines reinen Textes in die $SecListView. Es ist das gleiche Problem!JohannesFiRe.au3 Edited August 3, 2007 by jlorenz1 Johannes LorenzBensheim, Germanyjlorenz1@web.de[post="12602"]Highlightning AutoIt Syntax in Notepad++ - Just copy in your Profile/application data/notepad++[/post] Link to comment Share on other sites More sharing options...
martin Posted August 3, 2007 Share Posted August 3, 2007 ENGLISH.In short words: I've problems to insert an entry in a second listview ($SecListView). No errors in scite. The same thing with the first listview($listview) works correctly. The function _GUICtrlListViewInsertItem paste only an entry in the first column, not in the second. Tried different without success or an indice of the error. No return value with error.If you want to reproduce the error, (third tab) click the first/second item of the treeview. Some Radio-Controls will appear. Click one of them and then the little right button (square) at the bottom of the third tab. An ArrayDisplay shows the caption of the radio-control, which was checked. Close it. Afterwards you go on the fourth tab: In this listview you should see in Then first column the number of the job and in the second the caption of the checked control. In fact it shows only an entry in the first row. JohannesThese lines of the script are important for you: 224-228 Creation of $SecListView581-585 Call _GUICtrlListViewInsertItem to make an entryThe others lines aren't relevant, but should show the context. Try to paste plain text in listview. It's the same problemGERMAN/DEUTSCH.Ganz kurz: Ich habe Probleme einen Eintrag in einer zweiten Listview ($SecListView) zu erstellen. In SCITEgibt es keine Fehlerhinweise und eine erste Listview ($listview) funktioniert tadellos.Die Funktion _GUICtrlListViewInsertItem fügt nur in die erste, nicht aber in die zweite Spalte etwas ein. Probierte verschiedenes ohne Erfolg oder einen Hinweis auf den Fehler. Der Rückgabewert meldet keinen Fehler.Fehler reprodzieren. Klicke auf dem 3.Tab das erste oder zweite Element des Treeviews an. Darauf erscheinen rechts Optionsfelder (Radiobuttons). Klicke eines davon an und gehe unten rechts im Tab auf den rechten quadratischen Button. Ein Arraydisplay erscheint mit der Beschriftung des angeklickten Radiobutton. Schliesse es und gehe auf den 4.Tab in dieser Listview sollten in der ersten Spalte die Reihenfolge und in der zweiten Spalte die Beschriftung des angeklickten Radiobuttons erscheinen. In der zweiten Spalte erscheint jedoch nichts!!Diese Skriptzeilen sind wichtig für Dich:224-228 Erstellung des $SecListView581-585 Aufruf von _GUICtrlListViewInsertItem, um einen Eintrag in $SecListView zu machenDie anderen Zeilen sind nicht relevant, sind aber für den Kontext vielleicht erforderlich. Probiert es mit dem Einfügen eines reinen Textes in die $SecListView. Es ist das gleiche Problem!JohannesCan you make the script so that it can be run? Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
jlorenz1 Posted August 3, 2007 Author Share Posted August 3, 2007 Can you make the script so that it can be run?It runs with the described problem. What is your error message? Johannes LorenzBensheim, Germanyjlorenz1@web.de[post="12602"]Highlightning AutoIt Syntax in Notepad++ - Just copy in your Profile/application data/notepad++[/post] Link to comment Share on other sites More sharing options...
Stilgar Posted August 3, 2007 Share Posted August 3, 2007 So wie ich es sehe werden außer dem ersten Eintrag alle eingefügt. Das liegt in Zeile 582 an _GUICtrlListViewInsertItem am Index, wenn der auf -1 geht es. Meinst du das? jEdit4AutoIt PlanMaker_UDF Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now