Hello,
I have a dynamic number of ultrabuttons on my Windows forms APP.
When I press the button I want it to have a diffrent appearence from the others until I press another button.
How can I do that ?
Thank you.
Maria
Hi,
The buttons are now checkboxes. So if you only want to allow one of them to be checked, you would handle the CheckChanged or CheckStateChanged event and then set the Checked property on each of the other buttons to false.
Now I want to reset the button1's appearence when I press button2.
How can I do this?
Like I said, set the Style property to Button. That's Style, not ButtonStyle.
Here is my code:
b = new UltraCheckEditor(); b.ButtonStyle = Infragistics.Win.UIElementButtonStyle.Button; b.Click += new System.EventHandler(this.b_Click);
It doesn't work for me because I need a button, not a checkbox...
How can I implement the press apperaence on a UltraButton?
Thanks.
Hi Maria,
It sounds like you want state buttons where the button stays pressed after the user releases the mouse. Is that what you want? If so, then you could use UltraCheckEditor instead of UltraButton and just set the Style to Button.