Jump to content

Change in ClientEvents and setStyle method


cristianotestai

Recommended Posts

Hi Farshad,

 

After some time studying some implementations for my project, I installed Delphi XE3 and updated version of UniGui to see what effects they might have with the update since it was moved to the extjs 4.1 where significant changes have occurred.

 

I'll be posting some issues where this post are:

 

1) I used the OnChange event(ClientEvents) for some processing on the client after leaving the field, but now, in the hour of content change event being triggered. Which event should I use it now  to be triggered at the exit of the field?

 

2) In some fields(TUniEdit), I has used OnAfterrender event with the following code, but in release 0.90.0.976 does not work:


function OnAfterrender(sender)

{

  sender.getEl().setStyle('background-image', "url(../files/img/search.gif)");

}

 

Any change in this sintax?

 

Best Regards,

 

Cristiano Testai

Brazil

Link to comment
Share on other sites

  • 2 weeks later...

 

Hi Farshad,
 
After some time studying some implementations for my project, I installed Delphi XE3 and updated version of UniGui to see what effects they might have with the update since it was moved to the extjs 4.1 where significant changes have occurred.
 
I'll be posting some issues where this post are:
 
1) I used the OnChange event(ClientEvents) for some processing on the client after leaving the field, but now, in the hour of content change event being triggered. Which event should I use it now  to be triggered at the exit of the field?
 
2) In some fields(TUniEdit), I has used OnAfterrender event with the following code, but in release 0.90.0.976 does not work:
function OnAfterrender(sender)
{
  sender.getEl().setStyle('background-image', "url(../files/img/search.gif)");
}
 
Any change in this sintax?
 
Best Regards,
 
Cristiano Testai
Brazil

 

Any idea about changes in topic 2?

Link to comment
Share on other sites

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...