hi,
I am using an ultracheckeditor as a toggle button within my application. To do this i am setting the style of the ultracheckeditor to "button" as opposed to the standard "check". It works fine except that the appstyling is not applied to the resulting button.
If the control is left with a style of "check" the appstyling is applied fine...
Am i missing something.. or there something else i need to do to get it to pick up the appstyling...
Ray
Hi Ray,
I tried this out and it works just fine for me. What UIRoles are you trying to use here?
Once you change the Style of the UltraCheckEditor to button, it no longer serves as a CheckBox in terms of the UI, it becomes a state button. So the styling comes from the Button UIRole. You can use the Checked/Unchecked states of the Button UIRole to style it.
Mike,
I hope i have this right. From what i can see the Ultracheckeditor uses the "ToggleButton" property under the "Button" UI Role.
If i set the relevant properties on the "Button" property the button appears as you would expect on the form. However i didn't want to use the "Button" property as it effects other controls as well. If i set the "ToggleButton" property I do not get the expected effect.
Is the "ToggleButton" property the correct one to use....