In CustomListView, I want to modify a panel whenever a user clicks on it. However, the simple operation of getting a panel and adding it to the back of the CustomListView is crashing, much less anything fancy.
What am I doing wrong?
Sub clv_ItemClick (Index AsInt, Value AsObject)
Dim pnl AsPanel
pnl = clv.GetPanel(Index)
clv.Add(pnl, mypanel_size_dip,"try but crashes here")
End Sub
My next question will be; once I get this panel, how do I get its contents, such as an ImageView or text?
thanks
joe
What am I doing wrong?
Sub clv_ItemClick (Index AsInt, Value AsObject)
Dim pnl AsPanel
pnl = clv.GetPanel(Index)
clv.Add(pnl, mypanel_size_dip,"try but crashes here")
End Sub
My next question will be; once I get this panel, how do I get its contents, such as an ImageView or text?
thanks
joe