B4J Question AppBar elements (btns/etc) show and hide programaticaly

magdoz

Member
Licensed User
Hi

Q. How I can Hide/Show AppBar buttons programaticaly from pgIndex and from the mounted pages ?
'
Maybe It's a stupid question, answered already, but I found no solution until now !

My Solution :
1.At baselayout hide some appbar buttons..
2. Depending of the current page opened, show or Hide the that buttons and handle they events.
3. ..

Thanks Dears

'
 

Andrew (Digitwell)

Well-Known Member
Licensed User
Longtime User
There are many solutions to this problem, depending on how you have written your code.

Can you provide a sample project, then I may be able to provide specific help.
 
Upvote 0

AnandGupta

Expert
Licensed User
Longtime User
One solution is to have app:title=false
then use a panel at top as bar with buttons on page you need them.
 
Upvote 0
Top