I have Multiple combo boxes on a page
With Variable [VariableA] ... to [VariableD]"
On the startup Action Section i have der.
[syntax=neobook]
SetVar "[VariableA]" "OptionA"
SetVar "[VariableB]" "OptionB"
SetVar "[VariableC]" "OptionC"
SetVar "[VariableD] "OptionD"[/syntax]
But then up the Pub Startup i dont see the OptionA selected in the Combo Box with VariableA
It happens to all the combo boxes...
Please what am i doing wrong.
Am using Futura MDT font instead Arial
Combo Box
Moderator: Neosoft Support
- HackinHoodLogicsTm
- Posts: 131
- Joined: Wed Aug 28, 2013 7:03 am
- Location: Ghana
- Contact:
Re: Combo Box
HackinHoodLogicsTm:
1) I have a ComboBox with ...
a) its List Items hard coded at Design time to be ...
ab
ac
acd
ad
bb
xx
b) Variable: (to store selected item) named [ComboBox1]
2) I then setup this code for a Button ...
When I run the pub and click on the Button, everything works as expected ... so, temporarily, setup a Button like mine ... see if populating the [variableA] (to a different value than OptionA) gives the expected result ... post your result here.
Questions:
1) How are your ComboBox objects populated ?
a) at Design time ?
b) at run time via a variable ? ... if so, is this done before/after you populate [VariableA] etc. ? ... if they are done in separate event sections, post information here.
2) Are the Variable: (to store selected item) named [VariableA] etc. ?
1) I have a ComboBox with ...
a) its List Items hard coded at Design time to be ...
ab
ac
acd
ad
bb
xx
b) Variable: (to store selected item) named [ComboBox1]
2) I then setup this code for a Button ...
Code: Select all
SetVar "[ComboBox1]" "ad"
Questions:
1) How are your ComboBox objects populated ?
a) at Design time ?
b) at run time via a variable ? ... if so, is this done before/after you populate [VariableA] etc. ? ... if they are done in separate event sections, post information here.
2) Are the Variable: (to store selected item) named [VariableA] etc. ?