Re: [flexcoders] Change the caret in TextArea
Thanks. I did come across this in my searching. This is also a brute force approach which I was hoping to avoid. Looks like I will have to do this anyway. Thanks a lot for your attention. -Raj valdhor-3 wrote: I do not believe you can inside Flex. If someone else knows differently, please chime in. You should be able to create a custom component with a timer and keyboard event listeners to simulate what you want. This blog post might be a good starting point: http://joshblog.net/2008/01/17/source-code-for-custom-textfields-with-cool-effects/ --- In flexcoders@yahoogroups.com, rituraj_tiwari rituraj.tiw...@... wrote: Valdhor, Thanks for taking the time to respond. I am not looking to change the mouse pointer cursor. I need to change the blinking caret that appears in text input and text area when they are editable. -Raj valdhor-3 wrote: These links should help... http://www.switchonthecode.com/tutorials/flex-custom-cursor-tutorial http://blog.flexexamples.com/2007/09/10/changing-the-cursor-in-a-flex-application-using-the-cursormanager-class/ http://www.adobe.com/livedocs/flex/3/langref/mx/managers/CursorManager.html#setCursor%28%29 --- In flexcoders@yahoogroups.com, Shabir Gilkar shabirgilkar@ wrote: Nice question friend, even i do wanna to know the answer On 11/23/09, rituraj_tiwari rituraj.tiwari@ wrote: Folks, I need to implement and editable text area where the cursor (caret) is different from the default vertical flashing caret. Is the caret a skinnable property of TextArea? In case the flashing vertical line is deeply entrenched, I would like to be able to overlay my own floating caret on top of it to obscure it. Is there an easy way to get the X-Y coordinates of the caret so that I can move() my custom cursor graphic to that location? Thanks for your help. -Raj -- View this message in context: http://old.nabble.com/Change-the-caret-in-TextArea-tp26474743p26474743.html Sent from the FlexCoders mailing list archive at Nabble.com. -- With Regards Shabir Ahmad Gilkar Srinagar Kashmir JK Voice: +91 9419942501 email: shabirgilkar@ Skype: shabirgilkar -- View this message in context: http://old.nabble.com/Change-the-caret-in-TextArea-tp26474743p26484608.html Sent from the FlexCoders mailing list archive at Nabble.com. -- View this message in context: http://old.nabble.com/Change-the-caret-in-TextArea-tp26474743p26499965.html Sent from the FlexCoders mailing list archive at Nabble.com.
Re: [flexcoders] Change the caret in TextArea
Valdhor, Thanks for taking the time to respond. I am not looking to change the mouse pointer cursor. I need to change the blinking caret that appears in text input and text area when they are editable. -Raj valdhor-3 wrote: These links should help... http://www.switchonthecode.com/tutorials/flex-custom-cursor-tutorial http://blog.flexexamples.com/2007/09/10/changing-the-cursor-in-a-flex-application-using-the-cursormanager-class/ http://www.adobe.com/livedocs/flex/3/langref/mx/managers/CursorManager.html#setCursor%28%29 --- In flexcoders@yahoogroups.com, Shabir Gilkar shabirgil...@... wrote: Nice question friend, even i do wanna to know the answer On 11/23/09, rituraj_tiwari rituraj.tiw...@... wrote: Folks, I need to implement and editable text area where the cursor (caret) is different from the default vertical flashing caret. Is the caret a skinnable property of TextArea? In case the flashing vertical line is deeply entrenched, I would like to be able to overlay my own floating caret on top of it to obscure it. Is there an easy way to get the X-Y coordinates of the caret so that I can move() my custom cursor graphic to that location? Thanks for your help. -Raj -- View this message in context: http://old.nabble.com/Change-the-caret-in-TextArea-tp26474743p26474743.html Sent from the FlexCoders mailing list archive at Nabble.com. -- With Regards Shabir Ahmad Gilkar Srinagar Kashmir JK Voice: +91 9419942501 email: shabirgil...@... Skype: shabirgilkar -- View this message in context: http://old.nabble.com/Change-the-caret-in-TextArea-tp26474743p26484608.html Sent from the FlexCoders mailing list archive at Nabble.com.
[flexcoders] Change the caret in TextArea
Folks, I need to implement and editable text area where the cursor (caret) is different from the default vertical flashing caret. Is the caret a skinnable property of TextArea? In case the flashing vertical line is deeply entrenched, I would like to be able to overlay my own floating caret on top of it to obscure it. Is there an easy way to get the X-Y coordinates of the caret so that I can move() my custom cursor graphic to that location? Thanks for your help. -Raj -- View this message in context: http://old.nabble.com/Change-the-caret-in-TextArea-tp26474743p26474743.html Sent from the FlexCoders mailing list archive at Nabble.com.
Re: [flexcoders] Change the caret in TextArea
Nice question friend, even i do wanna to know the answer On 11/23/09, rituraj_tiwari rituraj.tiw...@gmail.com wrote: Folks, I need to implement and editable text area where the cursor (caret) is different from the default vertical flashing caret. Is the caret a skinnable property of TextArea? In case the flashing vertical line is deeply entrenched, I would like to be able to overlay my own floating caret on top of it to obscure it. Is there an easy way to get the X-Y coordinates of the caret so that I can move() my custom cursor graphic to that location? Thanks for your help. -Raj -- View this message in context: http://old.nabble.com/Change-the-caret-in-TextArea-tp26474743p26474743.html Sent from the FlexCoders mailing list archive at Nabble.com. -- With Regards Shabir Ahmad Gilkar Srinagar Kashmir JK Voice: +91 9419942501 email: shabirgil...@gmail.com Skype: shabirgilkar