Hello I have a screen with a form and a gallery and the gallery will be hidden when the timer end so I would like that the form take all the screen when the gallery is hidden how I do that please ?

Hello I have a screen with a form and a gallery and the gallery will be hidden when the timer end so I would like that the form take all the screen when the gallery is hidden how I do that please ?
The easier way would be for you to use a var to set the visible property of the Gallery and Form.
So, On App OnStart, you write:
Set(varOnTimerEnd, true)
After that, write this on visble property of the form:
!varOnTimerEnd
And this on visble property of the gallery:
varOnTimerEnd
On TimerEnd property ofthe timer, write this:
Set(varOnTimerEnd, false)
Otherwise, you can create a var to define the height but I am not sure if it will work...
So, On App OnStart, you write:
Set(varOnTimerEnd, CURRENT HEIGHT)
After that, write this on Heigth property of the form:
varOnTimerEnd
On TimerEnd property ofthe timer, write this:
Set(varOnTimerEnd, ALL THE HEIGHT)
If you need additional help please tag me in your reply and please like my reply.
If my reply provided you with a solution, pleased mark it as a solution ✔️!
Best regards,
Gonçalo Nogueira
Check my LinkedIn!
Buy me a coffee!
Check my User Group (pt-PT)!
Last Post on Community
My website!