Jump to content

demo UniClientEventsEditClientEvents.UniEdit1.ClientEvents.change()


CristianPeta

Recommended Posts

UniGUI 1.90.0.1535, Delphi 10.4.1

I need the UniEdit1 value in javascript and MainForm.UniEdit1.getValue returns a strange and not usable value.

I tried the demo unit UniClientEventsEditClientEvents where is a UniEdit1.ClientEvents.change() function that does not exists if I place a new TUniEdit component on the form. What is the explanation? It is obsolete and better not to use it?

I ask because reading from javascript MainForm.UniEdit1.getValue returns something like this in is not the edit value: "function(){var b=this.callParent(arguments);if(b&&this.uniCase){var a=document.documentElement.lang;if(!a){a=""}if(this.uniCase=="up"&&b.toLocaleUpperCase){b=b.toLocaleUpperCase(a)}else{if(this.uniCase=="low"&&b.toLocaleLowerCase){b=b.toLocaleLowerCase(a)}}}return b}"

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