skafy Posted September 18, 2018 Share Posted September 18, 2018 is it possible to change button background color on runtime? Link to comment Share on other sites More sharing options...
irigsoft Posted September 19, 2018 Share Posted September 19, 2018 Yes, with CSS Link to comment Share on other sites More sharing options...
delagoutte Posted September 19, 2018 Share Posted September 19, 2018 create your css for apply to button onruntime : UniSession.AddJS('$(''#'+TUniControl(YourButton).JSId+''').addClass(''YourCssClass'')'); and for remove UniSession.AddJS('$(''#'+TUniControl(YourButton).JSId+''').removeClass(''YourCssClass'')'); Link to comment Share on other sites More sharing options...
skafy Posted September 20, 2018 Author Share Posted September 20, 2018 Thar worked. Thank you both!. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now