AIMP Forum

AIMP for Windows => Skin Editor, Skin Engine => Вопросы / Questions => Topic started by: baram on May 14, 2013, 10:53:10

Title: Radio button implementation
Post by: baram on May 14, 2013, 10:53:10
I want to give options for user in my skin.

To do this, I need radio button.(not check box)

For example, I make a button.

And there is provided option to decide the button action.

Button action is determined by user choice.

And similarly user can choose one layout which they want.

I hope radio button is implemented like this.

1. Radio button has group id. So if one button is checked, the others in same group will be unchecked.

2. Radio button is used as provider in binding. So I can define action by their value(checked, not checked).




Title: Re: Radio button implementation
Post by: Artem on May 14, 2013, 11:13:05
You can use LogicalCounterProvider (see custom providers dialog), So, state of buttons will be depended on current counter value
Title: Re: Radio button implementation
Post by: Tarik on May 14, 2013, 11:41:56
See the example project (in attach)

I created custom provider CounterForRadioButton and linked it with my buttons (notice the link parameters)
Title: Re: Radio button implementation
Post by: baram on May 14, 2013, 11:46:46
See the example project (in attach)

I created custom provider CounterForRadioButton and linked it with my buttons (notice the link parameters)

Thank for your replay and kindness.