Android Question Put Table based on ScrollView2D into TabStrip in Code

GeoffT660

Active Member
Licensed User
Longtime User
I have set up a tab strip with 2 pages using the Tabstrip example but cannot put a Table on page 1 when I open the activity. I'm creating the table with:
B4X:
tblJobs.AddToActivity(Activity, 1%x, 5%y, 100%x, 40%y)
but can't figure out how to put the table on page 1 of the tabstrip. The table just shows above the tabstrip but both work. The Table is based on ScrollVeiw2D.
 

Ricky D

Well-Known Member
Licensed User
Longtime User
I have set up a tab strip with 2 pages using the Tabstrip example but cannot put a Table on page 1 when I open the activity. I'm creating the table with:
B4X:
tblJobs.AddToActivity(Activity, 1%x, 5%y, 100%x, 40%y)
but can't figure out how to put the table on page 1 of the tabstrip. The table just shows above the tabstrip but both work. The Table is based on ScrollVeiw2D.
I do that. Put a panel on the layout for page 1,put it"s dim statement via the generate. Then initiate the table using the panel as the parent for your table. I can show my code when I get home from work tomorrow. I have 3 tabs with 2 of them have 2 different tables on them
 
Upvote 0
Top