Help about panels

hpk2000

Member
I´m developing my first app under b4a kit and it uses a tab host. My question is, what is the best method to deal with different views?

Actually I initialized every panel as soon as my app starts and when I want to switch beetween views I just put the panel visible and enabled in FALSE and the one that want to show in TRUE.

Is it correct? Is it exist a better solution? Because if the view has edit text, labels, their information remains when i show that view again. ¿Is there a method to clear the values?

Thanks and hope you can help me!
 

asigala

Member
Licensed User
Longtime User
Problem is that inside the tab host I have a view that shows other view, appart from the other tabs.
 
Upvote 0

hpk2000

Member
Yeah! that's the one I purchased the kit but I use this for the forum (my mistake, sorry).

So I have to EditText.text = "" , Label.text = "" manually for each component?
 
Upvote 0

hpk2000

Member
Here is the example:

Tab 1 holds a list view where I can select a row. When I select a row I shows a new panel with the info row I selected. That panels contains a Back button to returns to list view and choose other.

Deppending on a value of the row clicked I have to fill the info view with some particular data, that's why I want to clear the subviews (label, edit text) values.
 
Upvote 0
Top