Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
173
StateButton - toggle between two statebuttons
posted

Good day,

I have 2 statebutton (btn1, btn2) tools on my main menu toolbar.

I would like to mimic a radio group. One must be pressed at all times. Btn1 is pressed at design time.

At run time if btn1 is pressed and it is already pressed, leave it pressed
If btn2 is pressed and btn1 is already pressed btn1 is unpressed and btn2 remains pressed
If btn2 is pressed and btn2 is already pressed, leave it pressed

Thanks for any help.

Gina_M

Parents
No Data
Reply
  • 419
    Suggested Answer
    posted

    Search for  "Create Groups of Mutually-Exclusive StateButtons" under the Infragistics documentation provided. It will show you how to create optionsets.

Children
No Data