After a short look into the Jabaco-FX now I have solved the problem. It was so easy and the solution was already there in front of my eyes. The procedure ListBox.AddItem has the following overloading:
|
Jabaco Source
|
1
|
List1.AddItem(Item As ListCellData) '2 v 6
|
and the ListCellData-Object has the following constructor:
|
Jabaco Source
|
1
|
New ListCellData(refText As String, refIcon As IResource) '3 v 4
|
so adding entries with Icons to a ListBox is pretty easy:
|
Jabaco Source
|
1
|
List1.AddItem(New ListCellData("Text of first entry", Resources.MyIconPng))
|
greetings
OlimilO