Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    How to get initial data copied from clipboard

    Hi I am using SmartClient Version: v8.2p_2012-06-10/LGPL Development Only (built 2012-06-10)
    and Firefox 13.0.1

    In my scenario user often paste text from clipboard to TextAreaItem. This field has limitation 1000 characters. When users paste text, it is cut to 1000 characters. Is there posibility to check how many characters shi is trying to paste from clipboard to warn user that data copied has been cut to 1000 character ?
    I have checked that OnChange event.getValue() returns data trunked to this 1000 characters limit.

    #2
    Hi lazinskip,

    I don't know if this is still open. If so:
    Apparently you are already in the OnChange-Handler and found the the current length is 1000. Why not just display a SC.say() then or insert some label?

    Best regards,
    Blama

    Comment

    Working...
    X