If you change:
Window1.Tabelle.AddRow( SQLDaten.Field("BEN_ID") )
to:
Window1.Tabelle.AddRow("Test")
Is that portion of the code event being reached?
Does it add rows containing “Test” to your listbox?
If you change:
Window1.Tabelle.AddRow( SQLDaten.Field("BEN_ID") )
to:
Window1.Tabelle.AddRow("Test")
Is that portion of the code event being reached?
Does it add rows containing “Test” to your listbox?
No it doesn’t add a row.
I fixed it. I put a new Listbox in it and now it works with the new ListBox.
@Emile Schwarz I fixed it. You all were right but any Settings in my ListBox blocked it to add a row. I deleted the Listbox and created a new and then it works.
When more than one person gives the same advice, that advice can be a good one