Sub clv2_ItemClick(Index As Int, Value As Object)
Dim aktPan As Panel
clv2.AsView.BringToFront
Log(Index & " = " & Value)
clv2.InsertAt(Index, CreateListItem($"Item !!!"$, clv2.AsView.Width, 160dip), $"Item !!!"$)
End Sub
Sub CreateListItem(Text As String, Width As Int, Height As Int) As Panel
Dim p As Panel
p.Initialize("")
p.SetLayout(0, 0, Width, Height)
p.LoadLayout("CellItem")
Label1.Text = Text
Return p
End Sub