E EvgenyB4A Active Member Licensed User Longtime User Dec 26, 2016 #1 Is it possible to add/remove pages in TabStripViewPager at runtime rather than via LoadLayout?
Erel B4X founder Staff member Licensed User Longtime User Dec 27, 2016 #2 You can an empty layout and load it multiple times and add all other views in your code (it is a mistake but it is possible). You cannot remove pages. Upvote 0
You can an empty layout and load it multiple times and add all other views in your code (it is a mistake but it is possible). You cannot remove pages.
E EvgenyB4A Active Member Licensed User Longtime User Dec 27, 2016 #3 Why is it mistake to load views by code in this case? If it needs to display the dynamic quantity of icons on pages of tabstrip, the pages quantity depends on icons quantity. Is there any other solution? Upvote 0
Why is it mistake to load views by code in this case? If it needs to display the dynamic quantity of icons on pages of tabstrip, the pages quantity depends on icons quantity. Is there any other solution?
Erel B4X founder Staff member Licensed User Longtime User Dec 27, 2016 #4 Generally speaking it is easier to use the designer to create a flexible layout. However there are cases where it is better to create the layout (or some of it) programmatically. EvgenyB4A said: If it needs to display the dynamic quantity of icons on pages of tabstrip Click to expand... Sounds like a case where it is better to create the layout programmatically. Upvote 0
Generally speaking it is easier to use the designer to create a flexible layout. However there are cases where it is better to create the layout (or some of it) programmatically. EvgenyB4A said: If it needs to display the dynamic quantity of icons on pages of tabstrip Click to expand... Sounds like a case where it is better to create the layout programmatically.