Jump to content

Recommended Posts

Posted

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.

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...