Are there best practices for displaying many options on a single screen? I have around 10 options which I've constructed like a gallery, so it's a list of options, each with a ">" to take you to that option's screen. I can't use a gallery as there doesn't seem to be a way to customise what each OnSelect does. The problem is there isn't enough room in the designer to fit all options in. I looked at a scrolling screen but the designer doesn't scroll so it's no possible to design using it for more than about 6 options. Are there better ways of designing a multiple option screen in the fixed height designer?
thanks,
Alistair
Solved! Go to Solution.
Hi,
You can absolutely do different things in a OnSelect, if the data is structured so you can decide what to do. Using an If-statement, you can for example go to different screens depending on the values in the currently selected record.
For instance, let's pretend you hava a table like this:
Id Type Info
0 Text Name of insect
1 Numeric Number of legs
2 Numeric Life expentancy
If the >-OnSelect you can write a formula similar to this:
If (ThisItem.Type = "Text"; Navigate(scrnTextEntry;ScreenTransition.None); ThisItem.Type = "Numeric"; Navigate(scrnNumreicEntry;ScreenTransition.None), Navigate(scrnOtherStuff;ScreenTransition.None))
I just made this up without testing it, so there might be typos in there.
Good luck!
Hi,
You can absolutely do different things in a OnSelect, if the data is structured so you can decide what to do. Using an If-statement, you can for example go to different screens depending on the values in the currently selected record.
For instance, let's pretend you hava a table like this:
Id Type Info
0 Text Name of insect
1 Numeric Number of legs
2 Numeric Life expentancy
If the >-OnSelect you can write a formula similar to this:
If (ThisItem.Type = "Text"; Navigate(scrnTextEntry;ScreenTransition.None); ThisItem.Type = "Numeric"; Navigate(scrnNumreicEntry;ScreenTransition.None), Navigate(scrnOtherStuff;ScreenTransition.None))
I just made this up without testing it, so there might be typos in there.
Good luck!
thanks for that, will give it a go
User | Count |
---|---|
158 | |
91 | |
67 | |
63 | |
63 |
User | Count |
---|---|
213 | |
157 | |
96 | |
86 | |
76 |