Ario.Paxaz Posted December 17, 2023 Share Posted December 17, 2023 Hello On the client side, when the button is clicked, the color changes. My problem is that after clicking on the button, its color becomes red and remains constant, and the rest of the buttons do not change to the previous color, for example blue. I need it in CSS. test_panel.zip Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 17, 2023 Share Posted December 17, 2023 Hello, Without looking at your test case, tell us what is your goal in general? Quote Link to comment Share on other sites More sharing options...
Ario.Paxaz Posted December 17, 2023 Author Share Posted December 17, 2023 suggest you watch the test. When the button is clicked, the color of the button changes and the color remains the same. as css I want the color of the panel to remain constant when the panel that I use as a button is clicked. Regards. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 18, 2023 Share Posted December 18, 2023 10 hours ago, Ario.Paxaz said: When the button is clicked, the color of the button changes and the color remains the same. as css I want the color of the panel to remain constant when the panel that I use as a button is clicked. 10 hours ago, Sherzod said: tell us what is your goal in general? Hello, Many questions arise... Do you take into account "press" and "depress"? How many panels can be pressed at the same time? Why exactly do you use the panel? Quote Link to comment Share on other sites More sharing options...
Ario.Paxaz Posted December 18, 2023 Author Share Posted December 18, 2023 I want to use these panels as a list view And from the panel as list view items It is certain that a button should be pressed and the color will change and remain And the rest of the buttons will return to the previous color. Please see the sample Now OnActiv does this in the CSS costume section, but the color does not remain. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 18, 2023 Share Posted December 18, 2023 6 minutes ago, Ario.Paxaz said: Please see the sample I've already seen. 3 hours ago, Sherzod said: Do you take into account "press" and "depress"? How many panels can be pressed at the same time? ? 6 minutes ago, Ario.Paxaz said: Now OnActiv does this in the CSS costume section, but the color does not remain. You may not be able to achieve success using just a panel and CSS. Quote Link to comment Share on other sites More sharing options...
Ario.Paxaz Posted December 18, 2023 Author Share Posted December 18, 2023 3 hours ago, Sherzod said: Do you take into account "press" and "depress"? Yes. 3 hours ago, Sherzod said: You may not be able What is your suggested solution? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 19, 2023 Share Posted December 19, 2023 15 hours ago, Ario.Paxaz said: What is your suggested solution? I think you should use, UniDBListBox, UniDBGrid (possible using custom template), UniSegmentedButton... Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 19, 2023 Share Posted December 19, 2023 Also you can use this solution for now: Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.