Dim p As Pane
p.Initialize("p")
Dim img As Image
Dim iv As ImageView
Dim l As Label
l.Initialize("l")
img.Initialize("directoryToImage","TheImage.jpg")
l.Text = "My Text field"
' image view initialise
iv.Initialize("iv")
' set the image
iv.SetImage(img)
' limit the size of the image
p.AddNode(iv,0,0,20,20)
' add the text
p.AddNode(l,30,0,100,20)
' add to combobox
ComboBox1.Items.Add(p)