Jump to content
uniGUI Discussion Forums
Sign in to follow this  
jahlxx

extevent runtime

Recommended Posts

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

almost.

 

can I use uniform instead of webform?

 

thanks.

Share this post


Link to post
Share on other sites

sorry.  webform is a property of uniform.

 

it works perfect.

 

Thanks.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×