rossati Active Member Licensed User Longtime User Dec 4, 2019 #1 Hi It is correct that the list extracted from a combo box for example by the statement like this Dim lst As List = cmb.Items Click to expand... is simply a pointer to the content of the combo itself and removing item(s) from this list is removes items(s) from the combo? Thanks Giovanni Rossati
Hi It is correct that the list extracted from a combo box for example by the statement like this Dim lst As List = cmb.Items Click to expand... is simply a pointer to the content of the combo itself and removing item(s) from this list is removes items(s) from the combo? Thanks Giovanni Rossati
rossati Active Member Licensed User Longtime User Dec 4, 2019 #3 Thanks no very useful properties Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Dec 4, 2019 #4 rossati said: no very useful properties Click to expand... What are you missing? Upvote 0
ThRuST Well-Known Member Licensed User Longtime User Dec 9, 2019 #5 @rossati Check out the B4X Object Browser, this might be what you're looking for. https://www.b4x.com/android/forum/t...r-api-documentation-b4x-object-browser.25682/ Upvote 0
@rossati Check out the B4X Object Browser, this might be what you're looking for. https://www.b4x.com/android/forum/t...r-api-documentation-b4x-object-browser.25682/
Jorge M A Well-Known Member Licensed User Longtime User Dec 11, 2019 #6 rossati said: no very useful properties Click to expand... Maybe you want to "clone" your cmb.list into new list. B4X: Dim lst As List lst.Initialize lst.AddAll(cmb.Items) ' Clone combo List Items lst.RemoveAt(3) ' Remove what you want Log(lst) Log(cmb.Items) Upvote 0
rossati said: no very useful properties Click to expand... Maybe you want to "clone" your cmb.list into new list. B4X: Dim lst As List lst.Initialize lst.AddAll(cmb.Items) ' Clone combo List Items lst.RemoveAt(3) ' Remove what you want Log(lst) Log(cmb.Items)