Let's say I initially have 5 buttons: a, b, c, d, e which passed on the same value within a variable. The variable passed on would be used to determine which values are to be displayed on the succeeding gallery.
SelectionScreen:
buttonA.Onselect: Navigate(Screen1, ScreenTransition.Fade,{value:A})
buttonB.Onselect: Navigate(Screen1, ScreenTransition.Fade,{value:B})
buttonC.Onselect: Navigate(Screen1, ScreenTransition.Fade,{value:C})
buttonD.Onselect: Navigate(Screen1, ScreenTransition.Fade,{value:D})
buttonE.Onselect: Navigate(Screen1, ScreenTransition.Fade,{value:E})
Screen1:
Datasource DB contains the following data:
Classes Icon A_Value B_Value C_Value D_Value E_Value
KRD KRD.jpg 1 2
IS IS.jpg 11 22
BS BS.jpg 111 222
CAPEX CAPEX.jpg 1111 2222
Gallery1 contains the following from datasource DB:
ThisItem.Classes ThisItem.Icon ThisItem.???
What I want to happen is to replace ??? with A_Value if the Button A was selected. The same goes if I choose Button B, B_Value would be displayed. Is this possible? I know I can just replicate the screens and just create a gallery for each but I don't think that it is the simplest way. Please help. Thank you in advance.


Report
All responses (
Answers (