ThePuiu Active Member Licensed User Longtime User Apr 5, 2019 #1 I have a ScrollView in which I add more panels. How can I delete one of this panels using: swArticles.Panel.RemoveViewAt (rowIndex) and not leave a blank place in place (make a rearrangement of the remaining panels). An idea would be to pick up a position all the panels that follow after the one deleted but it does not seem to me a too smart method... Thank you!
I have a ScrollView in which I add more panels. How can I delete one of this panels using: swArticles.Panel.RemoveViewAt (rowIndex) and not leave a blank place in place (make a rearrangement of the remaining panels). An idea would be to pick up a position all the panels that follow after the one deleted but it does not seem to me a too smart method... Thank you!
DonManfred Expert Licensed User Longtime User Apr 5, 2019 #2 I suggest to use xcustomlistview. Here you can easily remove items. Upvote 0
ThePuiu Active Member Licensed User Longtime User Apr 5, 2019 #3 Thank you DnManfred but is an existing application... Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Apr 7, 2019 #4 xCustomListView = ScrollView + additional features. One of the additional features is the ability to insert or remove items. The correct solution is to switch to xCustomListView. Upvote 0
xCustomListView = ScrollView + additional features. One of the additional features is the ability to insert or remove items. The correct solution is to switch to xCustomListView.