Restrict "Enter, delete and BACKSPACE" in TextArea

Hello

I want to restrict the delete, BACKSPACE key and the Enter key in the text box. Please tell me how to limit these 3 keys. Thanks in advance.

Kind regards

Kelifaoui has

var origS:String = "Cuveiro: resteba o restreba ' segunda harvest what coge en UN mismo terreno".»

my_txt.text = because;

listenerObject = new Object();

If I press the delete key, firstly this listener calls

listenerObject.keyDown = {function (eventObject)}
It = Selection.getCaretIndex ();

};

listenerObject.keyUp = {function (eventObject)}
{if (Key.GetAscii () == 13)}
my_txt. Text = my_txt. Text.Split ("\r"). Join("");
} ElseIf (Key.getAscii () == 8 |) {Key.getAscii () is 127)}
{if (prevS)}
my_txt. Text = prevS;
} else {}
my_txt. Text = origS
}
}
prevS my_txt.text =;
Selection.setFocus (my_txt);
Selection.setSelection (this, this)
};
my_txt.addEventListener ("KeyDown", listenerObject);
my_txt.addEventListener ("KeyUp", listenerObject);

Tags: Adobe Animate

Similar Questions

  • Satellite A100 - by pressing the Enter key and BACKSPACE insert a backslash

    The keyboard on my Satellite A100 has a perculiar behavior.
    The Enter key and BACKSPACE times return the insertion point to the beginning of the next line, and then insert a backslash.

    The behavior is similar in various products such as MS Word, internet Explorer, Notepad, WordPad, to name a few.
    The BACKSPACE key returns to the top of the page in MS Word and Notepad.

    This behavior is very frustrating and makes every day very difficult calculation.

    Does anyone have a solution to this problem

    Hello

    First I thought that this could be a result keyboard or Ms Word, Notepad setting language setting
    But while reading the story one more time, I think that this problem could be linked to the failure of hardware.
    But this is just a suggestion.

    I put t know if this problem would appear on new recovered BONES.
    Have you tried to restore the operating system using the Toshiba Recovery CD?
    Maybe you should do to see if it's really a hardware problem

    Good luck

  • Am I able to configure a wireless iMac keyboard to emulate the way a Windows keyboard responds to a depression of the DELETE keys and BACKSPACE?

    Am I able to configure a wireless iMac keyboard to emulate the way a Windows keyboard responds to a depression of the DELETE keys and BACKSPACE? I want to delete either to the left right GOLD of the cursor. By pressing the DELETE key on Mac does remove one way, but I want the ability to delete in both directions. The Windows keyboard provides a delete key to remove to the right and a key to return back to remove to the left. So I can configure an iMac for this keyboard? My thought is to keep the delete key as it is and ADD a new function to one of the function keys to delete characters to the left. Thanks for your time and your help.

    Mac can go both ways, in case this is useful.  You can use fn more delete to delete to the right.  Also control more.

  • SPACEBAR, Enter, Delete, up and down arrows do not work...

    Hi all

    My Hp laptop has been a serious problem. His space, Enter, Delete, up and down arrows have stopped working. I do not know how this problem caused. I went through various patches, which were so-

    1 Rstoring a date earliar.

    2 reinstall the Keyboard driver

    3. System formatting.

    The third difficulty formatting helped me and my keys started working. After few days I installed HP Network Manager software but it after installing it again these keys stopped working and also the shift caps lock LED lights and a Wi - fi connection do not turn on, but these two are functioning normally.

    the part of the information on my laptop HP are-

    Model: Pavilion G6

    4 GB RAM.

    OS: Windows 7 Home Basic

    can someone please suggest me it is a hardware problem or some software/driver related? And also what next I do to solve this serious problem...

    Thanks in advance.

    Hi Alien004,

    You and Advance23 have covered almost everything at this point and I think it's a hardware problem. I would recommend that you contact HP for repair. You can reach HP Total Care at 1-800-474-6836 in North America or Start here outside of North America.

  • Ctrl + alt + delete and then cancel

    Why my computer keep freezing? I have to press ctrl + alt + delete and then cancel for his release.

    grandpa7,
    Thank you for visiting the Microsoft Answers community forum.

    Can you tell us a bit more about what's going on just as the computer crashes?  This than that when you use your computer to browse the Internet, or by running a program such as a game or office?  He does it every time he's just sitting idle?  Your computer is a laptop or a counter top and what is the make and model?

    When it freezes, bring up the Task Manager and click the processes tab to see which processes are using most of the time CPU.  What can tell you if a program or a particular process is the cause of freeze.

    One of the main reasons for this type of behavior is a virus, spyware or malware.  Run a full system scan on your computer with the help of a good virus scanner and spyware such as Microsoft OneCare: http://onecare.live.com/site/en-us/default.htm?s_cid=sah/?s_cid=sah or Trend Micro Housecall: http://housecall.trendmicro.com/.

    Alternatively, you can run the System File Checker to see if you have corrupted system files:
    To run the System File Checker tool, follow these steps:
    Click Start and type cmd in the box start the search.
    Right click on cmd in the list programs, and then click Run as administrator.
    If you are prompted for an administrator password or a confirmation, type your password or click on continue
    At the command prompt, type the following line and press ENTER:
    sfc/scannow
    When the analysis is complete, test to see if the problem you are experiencing is resolved.

    Let us know this information so that we can better help you with your problem.
    Thank you

    Gloria
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • my computer crashes, I press ctrl alt delete and it thaws

    original title: don't know what's wrong

    my computer crashes, I press ctrl alt delete and it thaws, this happens very often, he does not have it for weeks at a time and then it again. I'm a paint shop pro user, I uninstalled and reinstalled psp more 2 browsers, firefox and chrome. My main browser is lunascape which he doesn't seem to be a problem. On chrome when I click on a tab, it closes. I can't copy on firefox. It did not help. Also, when this problem is occurring, I can't drag and drop only cut and paste. This has happened for several months. Someone told me I have a memory leak, but do not know that for you, I was getting ready to reformat with a full system restore and that said person who would not help, but again, I am not sure it is. I ran the antivirus scans, nothing I don't know what to do. I use a dell inspiron 531.

    Hello

    Check with Dell Support, their drivers and documentation online and ask in the Dell forums
    on the problems known.

    Dell support
    http://support.Dell.com/

    Dell support drivers - product manual & warranty Info (left side) - and much more
    http://support.Dell.com/support/index.aspx?c=us&l=en&s=DHS

    Dell forums
    http://en.community.Dell.com/forums/
    =========

    Returning the system back out of the plug box, would help reduce the possible causes
    like that would eliminate most of the possibilities of the software.

    ----------------

    Try this troubleshooting complete enough to see if it helps to determine the cause of and to eliminate
    the questions.

    Use the startup clean and other methods to try to determine the cause of and eliminate problems.

    ---------------------------------------------------------------

    References to Vista also apply to Windows 7.

    What antivirus/antispyware/security products do you have on the machine? Be one you have NEVER
    on this machine, including those you have uninstalled (they leave leftovers behind which can cause
    strange problems).

    ----------------------------------------------------

    Follow these steps:

    Try these to erase corruption and missing/damaged file system repair or replacement.

    Start - type this in the search box-> find COMMAND at the top and RIGHT CLICK – RUN AS ADMIN

    Enter this at the command prompt - sfc/scannow

    How to fix the system files of Windows 7 with the System File Checker
    http://www.SevenForums.com/tutorials/1538-SFC-SCANNOW-Command-System-File-Checker.html

    How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program
    generates in Windows Vista cbs.log
    http://support.Microsoft.com/kb/928228

    Also run CheckDisk, so we cannot exclude as much as possible of the corruption.

    How to run check disk in Windows 7
    http://www.SevenForums.com/tutorials/433-disk-check.html

    ==========================================

    After the foregoing:

    How to troubleshoot a problem by performing a clean boot in Windows Vista or
    Windows 7

    http://support.Microsoft.com/kb/929135

    Use advanced tools to solve performance problems in Windows 7
    http://www.howtogeek.com/HOWTO/6152/use-advanced-tools-to-troubleshoot-performance-problems-in-Windows-7/

    Problems with the overall speed of the system and performance
    http://support.Microsoft.com/default.aspx/GP/slow_windows_performance?p=1

    How to troubleshoot performance issues in Windows Vista
    http://support.Microsoft.com/kb/950685

    Optimize the performance of Microsoft Windows Vista
    http://support.Microsoft.com/kb/959062
    To see everything that is in charge of startup - wait a few minutes with nothing to do - then right-click
    Taskbar - the Task Manager process - take a look at stored by - Services - this is a quick way
    reference (if you have a small box at the bottom left - show for all users, then check that).

    How to change, add or remove startup programs in Windows 7
    http://www.SevenForums.com/tutorials/1401-startup-programs-change.html

    A quick check to see that load method 2 is - using MSCONFIG then put a list of
    those here.
    --------------------------------------------------------------------

    Tools that should help you:

    Process Explorer - free - find out which files, key of registry and other objects processes have opened.
    What DLLs they have loaded and more. This exceptionally effective utility will show you even who has
    each process.
    http://TechNet.Microsoft.com/en-us/Sysinternals/bb896653.aspx

    Autoruns - free - see what programs are configured to start automatically when you start your system
    and you log in. Autoruns also shows you the full list of registry and file locations where applications can
    Configure auto-start settings.
    http://TechNet.Microsoft.com/en-us/sysinternals/bb963902.aspx
    Process Monitor - Free - monitor the system files, registry, process, thread and DLL real-time activity.
    http://TechNet.Microsoft.com/en-us/Sysinternals/bb896645.aspx

    There are many excellent free tools from Sysinternals
    http://TechNet.Microsoft.com/en-us/Sysinternals/default.aspx

    -Free - WhatsInStartUP this utility displays the list of all applications that are loaded automatically
    When Windows starts. For each request, the following information is displayed: Type of startup (registry/Startup folder), Command - Line String, the product name, Version of the file, the name of the company;
    Location in the registry or the file system and more. It allows you to easily disable or remove unwanted
    a program that runs in your Windows startup.
    http://www.NirSoft.NET/utils/what_run_in_startup.html

    There are many excellent free tools to NirSoft
    http://www.NirSoft.NET/utils/index.html

    Window Watcher - free - do you know what is running on your computer? Maybe not. The window
    Watcher says it all, reporting of any window created by running programs, if the window
    is visible or not.
    http://www.KarenWare.com/PowerTools/ptwinwatch.asp

    Many excellent free tools and an excellent newsletter at Karenware
    http://www.KarenWare.com/

    ===========================================

    Think about it an absolute must - manually update your drivers.

    Vista and Windows 7 updated drivers love then here's how update the most important.

    This is my generic how updates of appropriate driver:

    This utility, it is easy see which versions are loaded:

    -Free - DriverView utility displays the list of all device drivers currently loaded on your system.
    For each driver in the list, additional useful information is displayed: load address of the driver,
    Description, version, product name, company that created the driver and more.
    http://www.NirSoft.NET/utils/DriverView.html

    For drivers, visit manufacturer of emergency system and of the manufacturer of the device that are the most common.
    Control Panel - device - Graphics Manager - note the brand and complete model
    your video card - double - tab of the driver - write version information. Now, click on update
    Driver (this can do nothing as MS is far behind the certification of drivers) - then right-click.
    Uninstall - REBOOT it will refresh the driver stack.

    Repeat this for network - card (NIC), Wifi network, sound, mouse, and keyboard if 3rd party
    with their own software and drivers and all other main drivers that you have.

    Now in the system manufacturer (Dell, HP, Toshiba as examples) site (in a restaurant), peripheral
    Site of the manufacturer (Realtek, Intel, Nvidia, ATI, for example) and get their latest versions. (Look for
    BIOS, Chipset and software updates on the site of the manufacturer of the system here.)

    Download - SAVE - go to where you put them - right click - RUN AD ADMIN - REBOOT after
    each installation.

    Always check in the Device Manager - drivers tab to be sure the version you actually install
    presents itself. This is because some restore drivers before the most recent is installed (sound card drivers
    in particular that) so to install a driver - reboot - check that it is installed and repeat as
    necessary.

    Repeat to the manufacturers - BTW in the DO NOT RUN THEIR SCANNER device - check
    manually by model.

    Look at the sites of the manufacturer for drivers - and the manufacturer of the device manually.
    http://pcsupport.about.com/od/driverssupport/HT/driverdlmfgr.htm

    Installation and update of drivers under Windows 7 (updated drivers manually using the methods
    above is preferred so that the latest drivers from the manufacturer of system and device manufacturers are
    found)
    http://www.SevenForums.com/tutorials/43216-installing-updating-drivers-7-a.html

    If you update the drivers manually, then it's a good idea to disable the facilities of driver under Windows
    Updates, that leaves about Windows updates but it will not install the drivers that will be generally
    older and cause problems. If updates offers a new driver and then HIDE it (right click on it), then
    get new manually if you wish.

    Stop Windows 7 to automatically install device drivers
    http://helpdeskgeek.com/Windows-7/stop-Windows-7-from-automatically-installing-device-drivers/

    How to disable automatic driver Installation in Windows 7 / Vista
    http://www.AddictiveTips.com/Windows-Tips/how-to-disable-automatic-driver-installation-in-Windows-Vista/

    Turn off Windows Update Device Driver search prompt in Windows 7 / Vista (for professionals,
    Ultimate and Enterprise)
    http://www.AddictiveTips.com/Windows-tips/disable-Windows-Update-device-driver-search-prompt/

    ===========================================

    Refer to these discussions because many more excellent advice however don't forget to check your antivirus
    programs, the main drivers and BIOS update and also solve the problems with the cleanboot method
    first.

    Problems with the overall speed of the system and performance
    http://support.Microsoft.com/GP/slow_windows_performance/en-us

    Performance and Maintenance Tips
    http://social.answers.Microsoft.com/forums/en-us/w7performance/thread/19e5d6c3-BF07-49ac-a2fa-6718c988f125

    Explorer Windows stopped working
    http://social.answers.Microsoft.com/forums/en-us/w7performance/thread/6ab02526-5071-4DCC-895F-d90202bad8b3

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">

  • How to disable the restrictions for deleting call logs

    Y at - he on an option to put the restriction to delete call log history journal calls or stops history in I cloud.

    Not that I know unfortunately.

  • Click right does not work. Profile already deleted and started in safe mode

    I googled and used solutions of mozilla for safe mode, delete and create a new profile (deleted all files) disabled all the plugins. I discovered a problem where clicking on ask to activate does not drop down to select another option. I tried the plugins folder thought I could delete all the plugins and start again. Nothing I've tried has worked at all. I also uninstalled and reinstalled the latest version. I noticed that the version installed is under program (x 86), which is where I thought that 32-bit applications are implemented? Anyway, even by selecting text on a page and right click does not work

    You have a problem of mouse anywhere else?

    The software on your system is up to date?

    Start your computer in safe mode with network. Then launch Firefox.
    Is always the question?

    Start the computer in Mode safe;
    Free online encyclopedia

  • iTunes has been deleted and songs at random out of my playlists, but not of the library - I 7000 songs to sort!

    I just bought the latest iPad and now I have restored from a backup, it has been deleted and the songs at random out of my playlists for example a playlist, used to have 534 songs (I know because they are always on my ipod) and now he has 137. Why he did I have no idea. The songs are on my Itunes yet, but not playlists which is why I think it must be some sort of bug. Help, please.

    p.s. Ideally I'd like just use my ipod as a backup (can I do that?) but I can't connect to the risk to delete playlists.

    See the empty/corrupted after upgrade/crash iTunes library.

    TT2

  • Firefox gave me a program that killed the unwanted cookies and showed me a pop up as they have been deleted and it disappeared. How can I get it back? Thank you

    Firefox gave me a program that killed the unwanted cookies and showed me a pop up as they have been deleted and it disappeared. How can I get it back? Thank you

    who could be this extension: https://addons.mozilla.org/firefox/addon/self-destructing-cookies/

  • CAN I back up deleted and / mms only, using my camera Iam backup?

    CCan I backup to recover deleted and / mms only, the device I want to retrieve messages?

    robynwill wrote:

    CCan I backup to recover deleted and / mms only, the device I want to retrieve messages?

    I don't know exactly what you're asking here. It seems to me that you deleted a few MMS, and you try to get back them. Is this correct? If so, then if you have a backup of the device that was made so that the MMS were still on the phone, then Yes, you could restore this backup unit to retrieve the MMS. However, understand that everything you've done since the backup was made will be removed.

  • Thunderbird keeps questioning a former e-mail account that has been deleted and is not listed in the tools/options account

    I even deleted and reloaded firefox, Thunderbird , but it continues to try to recover a deleted account emails. Where it becomes the info to try to access the account? Tools/choice of account does not contain the account more.

    The title of the question and first sentence edited by moderator. This question is about Thunderbird, not Firefox. AW

    Something was quite wrong. Settings that use Thunderbird cannot come from his profile, but if the account has been for settings and yet the account is always logged, then the settings page has become out of step with the real state of the profile. Note that uninstalling and then reinstalling the program Thunderbird are usually ineffective because the settings are kept separately in the profile folder.

    I would go to tools | Options | Advanced > Configuration Editor and search for it references to the unwanted account and see if they can be removed by here. If this fails, I close Thunderbird and browse the js files in a text editor. If you do this, be sure to make backups, because if the files are preferably incorrectly formatted, Thunderbird will not start.

  • I have 13 tabs that won't close. I've deleted and reinstalled Firefox, but it nevertheless opens with tabs that won't close. What can I do to close these tabs?

    I have closed tabs leave history Firefox (several times) wiped, deleted and reinstalled, and these same tabs are still there, even after the re-installation. Why this is happening and how to fix it if it does not happen?

    Hello shmogo, reset your homepage: How to set the home page

  • My contacts have been delete and someone hacked my Apple ID who gave me their contacts and their pictures

    Some random got my apple id and all my contacts have been deleted and I have their pictures on my phone, really need help

    I think the first thing to do is to connect on your apple ID and change your password and other security information. They can access your account and buy apps and music with your apple ID and your credit card would be charged it.

    read this article here http://www.thesafemac.com/what-to-do-if-your-apple-id-has-been-hacked/

  • I forgot my security question answer Apple ID and my recovery email address has since been deleted and disabled. How to get answers to security questions and or change my email recovery?

    I forgot my security question answer Apple ID and my recovery email address has since been deleted and disabled. How to get answers to security questions and or change my email recovery?

    Go to https://getsupport.apple.com . Click on "see all of the products and services ', then 'More', then 'Apple ID', then 'other Apple ID subjects' then 'security issues forgotten Apple ID". If you have problems with this test of this form: https://www.apple.com/emea/support/itunes/contact.html

Maybe you are looking for

  • Re: M100 change HARD drive

    Hello I have an 'old' Portege M100 and I suspect a broken HARD drive. The laptop freeze suddenly and sometimes crash with a blue screen. Most of the time it will not start at all. I managed to reinstall XP with my recovery CD twice, without change.I

  • advantage of ink printer deskjet 4625

    do I have to change the cartridge color the3 during execution

  • Re: Download the recovery for my Equium disc?

    Hello! I had a virus even though MSN on my computer and it slowed down my computer so I downloaded the free version of avg and did a quick scan to clear the virus.Then once he had finished it asked me to restart my computer so I did, but now whenever

  • Write mulitple .png images

    Is it possible to write several .png images in a folder designated by a path? I'm surprised that I have not really found any documentation on this topic. I am able to do is: -capture a single .png image of a camera and save it to a folder -launch the

  • Cleaning of disk space on the computer

    WOW Thanks to all the kind people who responded to my problem with free space on my C: drive. OK, the info on my pc space used 74.0 GB... 444 MB free... 74.5 ability of. If I run Disk Clean Up it will release 832 KB. Now that my daughter left for Col