Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
sonicworks

Moving Text Box with Cursor Keys

Recommended Posts

Hi,

 

Is there a way of moving the text box around with the cursor keys. I noticed from a previous post it looked like it was possible but got turned off due to a selection conflict. An overide switch would be great like hold down Ctl+arrows to move it etc..

 

Thanks

Link to comment
Share on other sites

You should be able to just click on one of the edges so that the focus isn't INSIDE the TextField (which would mean the user's arrow presses should move the cursor/caret rather than the entire TextField). See what I mean?

Link to comment
Share on other sites

Yes unfortunatly that doesn't work, maybe I should have mentioned I'm using Flex... ;)

 

One thing that does work is to click on another web browser window then click the app browser again. (lets the browser loose then regain focus).

 

Work around

I've added 'Application.application.stage.focus = null;' to run when the ESC key is pressed in the text area. Then the user can move the text box around with the cursors.

 

Tim

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×