Android Question (solved) B4XTable - Photos Album hide navigation panel

José J. Aguilar

Expert
Licensed User
Hi all:

I'm trying to hide the navigation panel in the Photos Album Example but I can't.

I've tried
B4X:
Sleep(0)
B4XTable1.pnlHeader.Visible = False
B4X:
Wait For B4XTable1_DataUpdated
B4XTable1.pnlHeader.Visible = False

and
B4X:
Wait For B4XTable1_DataUpdated
B4XTable1.pnlHeader.Visible = False
B4XTable1.pnlHeader.Hight = 0

But I can't hide the panel and see the pictures starting from the first row

What I get:
get.jpg


What I want:
want.jpg
 

martha

Member
B4X:
tblDato.pnlHeader.Visible = False
tblDato.clvData.AsView.Top = 0
tblDato.clvData.AsView.Height = tblDato.clvData.AsView.Height + tblDato.pnlHeader.Height
 
Upvote 0

Mahares

Expert
Licensed User
Longtime User
But I can't hide the panel and see the pictures starting from the first row
At the bottom of this sub: Private Sub LoadData (Files As List), try to add this:
B4X:
Sleep(0)
    B4XTable1.pnlHeader.Visible = False
    B4XTable1.mBase.Top= -100dip  '<--- you may have to play around with this
    Wait For (B4XTable1.SetData(Data)) Complete (Unused As Boolean)
 
Upvote 0
Top