Objective user taps icon. Icon navigates to screen and changes colour for example from blue to grey. If user chooses a different icon the previous icon reverts back to default colour and the newly selected icon changes colour. If user submits data or refreshes the app icon colour reverts back to default.
Thank you.
Solved! Go to Solution.
Hi @CABIRD,
Do you want to change your icon color according to your operation?
Do you want to submit data in the submit page?
What’s more, PowerApps doesn’t support the function of refreshing app currently. You could only refresh data source.
I made a similar test according to your description as follows:
Color: If("home" in context1.name,RGBA(166, 166, 166, 1),RGBA(0, 18, 107, 1)) (on the Screen of home)
OnSelect: Navigate(Screen1,None);ClearCollect(context1,{name:"home"}) (on other Screens)
Color: If("checklist" in context1.name,RGBA(166, 166, 166, 1),RGBA(0, 18, 107, 1))
OnSelect: Navigate(Screen2,None);ClearCollect(context1,{name:"checklist"})
Color: If("camera" in context1.name,RGBA(166, 166, 166, 1),RGBA(0, 18, 107, 1))
OnSelect: Navigate(Screen3,None);ClearCollect(context1,{name:"camera"})
Color: If("submit" in context1.name,RGBA(166, 166, 166, 1),RGBA(0, 18, 107, 1))
OnSelect: Navigate(Screen4,None);ClearCollect(context1,{name:"submit"})
OnSelect: Refresh(student_info);Clear(context1)
OnSelect: SubmitForm(Form1);Clear(context1)
Best regards,
Community Support Team _ Phoebe Liu
Hi @CABIRD,
Do you want to change your icon color according to your operation?
Do you want to submit data in the submit page?
What’s more, PowerApps doesn’t support the function of refreshing app currently. You could only refresh data source.
I made a similar test according to your description as follows:
Color: If("home" in context1.name,RGBA(166, 166, 166, 1),RGBA(0, 18, 107, 1)) (on the Screen of home)
OnSelect: Navigate(Screen1,None);ClearCollect(context1,{name:"home"}) (on other Screens)
Color: If("checklist" in context1.name,RGBA(166, 166, 166, 1),RGBA(0, 18, 107, 1))
OnSelect: Navigate(Screen2,None);ClearCollect(context1,{name:"checklist"})
Color: If("camera" in context1.name,RGBA(166, 166, 166, 1),RGBA(0, 18, 107, 1))
OnSelect: Navigate(Screen3,None);ClearCollect(context1,{name:"camera"})
Color: If("submit" in context1.name,RGBA(166, 166, 166, 1),RGBA(0, 18, 107, 1))
OnSelect: Navigate(Screen4,None);ClearCollect(context1,{name:"submit"})
OnSelect: Refresh(student_info);Clear(context1)
OnSelect: SubmitForm(Form1);Clear(context1)
Best regards,
Community Support Team _ Phoebe Liu
Thank you. I really appreciate your help.
User | Count |
---|---|
252 | |
101 | |
94 | |
47 | |
38 |