TabHost Panels

mangojack

Well-Known Member
Licensed User
Longtime User
Hi .. First post for me , so please be kind ...
Long term VB er ,tried to make the java and .net jump but failed big time , but loving B4A .

not so much a problem ,maybe just someone to make it clear for me , have looked at samples and read but nothing seems solve my situation.

My program consists of a code module to handle data ,
a Table class module to display that data (panel for headers and scroll view for rows of data) and Activity module .

The activity module loads the Main Layout consisting of a TabHost view.
The TabHost has 3 Tabs , with 3 predefined layouts ...page 1,2,and 3,

Page 1 contains various views ..textedits ,labels ,ect.
Page 2 and 3 are blank .

Here is where I need some clarification ...

using the TabHost_Tab Change event for Tab 2 and 3 a Sub is called to progmatically load and populate the Table. That Table remains visible when changing back to Tab 1.

Can I explicitly load that table to "Page2" of the TabHost or because I have only 1 Activity and that Table View is added to that activity is it OK just to hide it .

many thanks
Regards

:sign0163:
 

mangojack

Well-Known Member
Licensed User
Longtime User
Many Thanks for your fast response klaus.

Cheers
 
Upvote 0
Top