AIMP Forum

AIMP for Windows => Skin Editor, Skin Engine => Вопросы / Questions => Topic started by: Chiira on February 07, 2016, 06:33:53

Title: Change Visibility More Than 2 Element With One Button
Post by: Chiira on February 07, 2016, 06:33:53
Hello~
I'm sorry if I use English.
But I wanna ask something about AIMP SE for AIMP 4.
It's possible to change visibility more than 2 element with one button?
I mean, with one button, when clicked, 2 or more visibility element was changed.
For example, I have 4 tabbed groups. So, content inside 4 tabbed group must change (triggered) with one button only.
Sorry bad English, I hope you all understand  :)
Title: Re: Change Visibility More Than 2 Element With One Button
Post by: Tarik on February 07, 2016, 15:53:10
1) Create custom LogicalOperatorCounter provider.
2) Link visibility (or state or other properties you need) of your elements (tabs etc.) to this provider.
3) To control this provider, link button with provider (Button.Action must be linked to Provider.Position)

P.S. Look at attached test project.
Title: Re: Change Visibility More Than 2 Element With One Button
Post by: Chiira on February 10, 2016, 03:39:56
Very splendid with your sample project :D
Thanks anyway.
Now I can continue my project.