Hi, Can someone would be kind enough to help me with something?
I've spent hours on this trying to get something so simple to work.
I know I've missed something very basic here!!!
I want a ComboBox to simply display the last item text they picked after it's page jumped.
It' works going forwards through pages 1,2,3,4 but when you get to page 4 and try to go backwards then this is where everything goes all Pearshaped
It's nothing complicated, just a simple ComboBox duplicated to each page.
I've tried even making the ComboBox on a separate page then inheriting it from that page on all my pages 1,2,3,4 but alas, that didn't want to play ball with me either.
Below, is my code for ComboBox1
Item Text
1. :: Select a picture below::
2. Picture 1
3. Picture 2
4. Picture 3
5. Picture 4
On Select for the ComboBox1 (pages 1-4)
So, whats the problem?
Well, as soon as AMS opens up. You can select in order picture 1 - 4 and it works fantastic.
It even page jumps to the correct pages 1,2,3,4 however, It doesn't show in the ComboBox select text after they've selected the picture the actual text "Picture x" it says :: Select a picture below:: which i can live with. But prefer to to say what it actually is.
Now, lets say the user has gone through selection 1,2,3,4 [I can only produce this error if I've gone through all selections 1 -4 before this next part]
Once you've selected picture 4 then decide to go backwards 4,3,2,1 here's where mayhem kicks in!
It still page jumps perfectly to the correct pages, but the ItemText goes completely out of whack with what page its on. And now instead of displaying :: Select a picture below:: it now displays Picture X but completely out of sync.
Here's the order of chaos it goes in.
You have to select picture 1,2,3,4 then go backwards to picture 3
On selecting picture 3 it pages jumps to page 3, but says picture 4 in the ComboBox?
On selecting picture 2 it page jumps to page 2, but says picture 1 in the ComboBox?
On selecting picture 1 it page jumps to page 1, but says picture 3 in the ComboBox?
This also happens if you go in reverse, start off with 4,3,2,1 then go back to picture 2.
I just want it to display the correct ItemText in the Combobox the user selected regardless. Or, if that can't be done to at least just display :: Select a picture below:: after they've selected anything. Am I trying to do the impossible?
I've spent hours on this trying to get something so simple to work.
I know I've missed something very basic here!!!
I want a ComboBox to simply display the last item text they picked after it's page jumped.
It' works going forwards through pages 1,2,3,4 but when you get to page 4 and try to go backwards then this is where everything goes all Pearshaped
It's nothing complicated, just a simple ComboBox duplicated to each page.
I've tried even making the ComboBox on a separate page then inheriting it from that page on all my pages 1,2,3,4 but alas, that didn't want to play ball with me either.
Below, is my code for ComboBox1
Item Text
1. :: Select a picture below::
2. Picture 1
3. Picture 2
4. Picture 3
5. Picture 4
On Select for the ComboBox1 (pages 1-4)
Code:
if e_Selection == 1 then Dialog.TimedMessage("Pls select a picture", "No picture selected?.", 2000, MB_ICONINFORMATION); elseif e_Selection == 2 then Page.Jump("Page1"); elseif e_Selection == 3 then Page.Jump("Page2"); elseif e_Selection == 4 then Page.Jump("Page3"); elseif e_Selection == 5 then Page.Jump("Page4"); end
Well, as soon as AMS opens up. You can select in order picture 1 - 4 and it works fantastic.
It even page jumps to the correct pages 1,2,3,4 however, It doesn't show in the ComboBox select text after they've selected the picture the actual text "Picture x" it says :: Select a picture below:: which i can live with. But prefer to to say what it actually is.
Now, lets say the user has gone through selection 1,2,3,4 [I can only produce this error if I've gone through all selections 1 -4 before this next part]
Once you've selected picture 4 then decide to go backwards 4,3,2,1 here's where mayhem kicks in!
It still page jumps perfectly to the correct pages, but the ItemText goes completely out of whack with what page its on. And now instead of displaying :: Select a picture below:: it now displays Picture X but completely out of sync.
Here's the order of chaos it goes in.
You have to select picture 1,2,3,4 then go backwards to picture 3
On selecting picture 3 it pages jumps to page 3, but says picture 4 in the ComboBox?
On selecting picture 2 it page jumps to page 2, but says picture 1 in the ComboBox?
On selecting picture 1 it page jumps to page 1, but says picture 3 in the ComboBox?
This also happens if you go in reverse, start off with 4,3,2,1 then go back to picture 2.
I just want it to display the correct ItemText in the Combobox the user selected regardless. Or, if that can't be done to at least just display :: Select a picture below:: after they've selected anything. Am I trying to do the impossible?
Comment