jahlxx Posted July 6, 2018 Share Posted July 6, 2018 Hi. I have this for some components: tunibitbtn(formulario.components[n]).ClientEvents.ExtEvents.Values['onadded']:='function add(sender, container, pos, eOpts)'+ ' { sender.addCls(''myOKboton'');}'; I'd like to do something similar for some forms: formulario.ClientEvents.ExtEvents.Values['onwindowadded']:='function window.add(sender, component, index, eOpts)'+ ' { sender.addCls(''myForm'');}'; But this don't work. I don't know with is the correct event. Some idea? thanks. Link to comment Share on other sites More sharing options...
jahlxx Posted July 6, 2018 Author Share Posted July 6, 2018 I¡ve been reviewing some posts in the forums, but I can't find a way to do it. I "only" want to change border color of a form in run time, like I can do with buttons. Any idea? Thanks. Link to comment Share on other sites More sharing options...
Sherzod Posted July 6, 2018 Share Posted July 6, 2018 Hi, Also this post can help you: http://forums.unigui.com/index.php?/topic/10175-changing-color-of-modal-resizeable-forms-border-and-title-bar/ Link to comment Share on other sites More sharing options...
jahlxx Posted July 7, 2018 Author Share Posted July 7, 2018 almost. can I use uniform instead of webform? thanks. Link to comment Share on other sites More sharing options...
jahlxx Posted July 9, 2018 Author Share Posted July 9, 2018 sorry. webform is a property of uniform. it works perfect. Thanks. 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