Jump to content

extevent runtime


jahlxx

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.

Link to comment
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.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...