Jump to content

TUniMemo how to handle paste event?


Geovane Silveira

Recommended Posts

So, I have a customer that copy/paste info on the memo that a client of his always send to them whenever they want to buy something. Problem is, this info is separated by line breaks, and my client doesn't want it to.

I saw a lot of techniques using event listeners and alikes but I couldn't figure out how to make it work with unigui.

This is a js fiddle that I found (changed a bit) with exactly how I want my memo to behave. I don't know, nor did I found out, how to translate this to use in unigui and where/when to put it.

My application is desktop based.

Link to comment
Share on other sites

51 minutes ago, Geovane Silveira said:

 It was already installed when I came here. I don't know.

Which edition are you using do you know? 

Sorry, it seems you are using a cracked version 

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