I'm creating a component menu that will slide on and off the screen based on the following videos:
https://www.youtube.com/watch?v=3S0h2nODcxM&t=613s (menu component)
https://www.youtube.com/watch?v=D_Kb7AXSE0s&t=1158s (slide on/off screen)
(Thank you to both of you!)
I have 5 screens each with my menu component on it and each screen has a hamburger icon on it to move the menu component on and off the screen.
I'm having trouble with two things:
1. Getting the hamburger icon to toggle the menu on/off the screen.
2. Having the menu revert to off the screen again after a menu selection is made.
The menu component has a Boolean custom input property called ExpandMenu with a default of false/off.
comMenu_Home X = If(comMenu_Home.ExpandMenu, 0, -comMenu_Home.Width)
icoHamburger_Home OnSelect = comMenu_Home.ExpandMenu = !comMenu_Home.ExpandMenu
I thought the above would toggle the menu on/off screen, but it is doing nothing.
This is my first Power App, so I'm not sure if I'm trying to do this the right way and would appreciate any help.
Thanks,
J