My question is related to the UI coding while using VisageFX. The situation is explained below.
ToggleButton{
text: "Option"
selected: true
}
So now the option should be by default be selected right?
But actually this is not happening. There is no effect of any value I provide to the select variable.
Now same kind of bindings I did make for the CheckBox too(I have committed the code) but I see the same problem there too. Since CheckBox element has three properties namely:-
- allowIndeterminate
- indeterminate
- selected
And all the three properties are Boolean and when I supply them with values they dont work, None of them. The Checkbox appears on the screen but neither allowIndeterminate works nor selected:true. Since none of the Boolean properties related to both the components are working I would like to ask am I doing something wrong because I can see the components on the screen but they do not behave in the way required. Or are there some other implementations that I am missing. I have attached two links below for the output samples from the Oracle website itself. Please guide me if I am doing something wrong. Please have a look at the CheckBox.visage for the code.
Please consider just the image outputs for the above links. Hope I have explained myself above. Please let me know for any clarification.