|
Prev: Brand Watches Invicta Men's Chronograph Blue Leather Blue Dial Watch 3314 Discount, Replica, Fake
Next: Brand Watches Gucci Women's 105 Series Watch #YA105513 Discount, Replica, Fake
From: forums.macromedia.com on 18 Apr 2008 12:20 Hellow folks, I looked around in ShowMe files for help but couldn't find what i really need. I don't know how to do this: a field that has a text already (for example "bobby123"), and I want the user to use the backspace key to delete the entry and replace it with "bobby789". how can i program that? a sample code will be appreciated. thanks in advance, Omar
From: Erik L. **Community Expert** on 18 Apr 2008 14:22 Look at the PresetEntry function. You can use that to pre-fill a text-entry field. Doing that also pre-selects (highlights) the text, so if the user starts typing, all the text is replaced. To put the cursor at the end of that text, look at the PressKey function. Note that when text is highlighted in any given text field and you press the left arrow key, the text is unhighlighted and the cursor jumps to the end... (hint hint, nudge nudge) Erik forums.macromedia.com wrote: > a field that has a text already (for example "bobby123"), and I want the > user to use the backspace key to delete the entry and replace it with > "bobby789". -- Erik Lord http://www.capemedia.net Adobe Community Expert - eLearning http://www.adobe.com/communities/experts/ ------------------------------------------------------------------------ http://www.awaretips.net - Authorware Tips!
From: forums.macromedia.com on 18 Apr 2008 15:06 Thanks Eric. Is there a way to get rid of the black highlights on the text? "Erik L. **Community Expert**" <erik(a)pasdespam.capemedia.net> wrote in message news:fuaos5$iju$1(a)forums.macromedia.com... > Look at the PresetEntry function. You can use that to pre-fill a > text-entry field. Doing that also pre-selects (highlights) the text, so if > the user starts typing, all the text is replaced. > To put the cursor at the end of that text, look at the PressKey function. > Note that when text is highlighted in any given text field and you press > the left arrow key, the text is unhighlighted and the cursor jumps to the > end... (hint hint, nudge nudge) > Erik > > forums.macromedia.com wrote: > >> a field that has a text already (for example "bobby123"), and I want the >> user to use the backspace key to delete the entry and replace it with >> "bobby789". > -- > Erik Lord > http://www.capemedia.net > Adobe Community Expert - eLearning > http://www.adobe.com/communities/experts/ > ------------------------------------------------------------------------ > http://www.awaretips.net - Authorware Tips!
From: Amy Blankenship on 18 Apr 2008 19:06 I think what Erik meant is that if you use the PressKey function to press the _right_ arrow key the cursor will jump to the end of the field. If you use the leftarrow key, it will jump to the beginning of the field. HTH; Amy "forums.macromedia.com" <lion_eyes1(a)hotmail.com> wrote in message news:fuarft$l8o$1(a)forums.macromedia.com... > Thanks Eric. Is there a way to get rid of the black highlights on the > text? > > > "Erik L. **Community Expert**" <erik(a)pasdespam.capemedia.net> wrote in > message news:fuaos5$iju$1(a)forums.macromedia.com... >> Look at the PresetEntry function. You can use that to pre-fill a >> text-entry field. Doing that also pre-selects (highlights) the text, so >> if the user starts typing, all the text is replaced. >> To put the cursor at the end of that text, look at the PressKey function. >> Note that when text is highlighted in any given text field and you press >> the left arrow key, the text is unhighlighted and the cursor jumps to the >> end... (hint hint, nudge nudge) >> Erik >> >> forums.macromedia.com wrote: >> >>> a field that has a text already (for example "bobby123"), and I want the >>> user to use the backspace key to delete the entry and replace it with >>> "bobby789". >> -- >> Erik Lord >> http://www.capemedia.net >> Adobe Community Expert - eLearning >> http://www.adobe.com/communities/experts/ >> ------------------------------------------------------------------------ >> http://www.awaretips.net - Authorware Tips! > >
From: Erik **Adobe Community Expert** on 19 Apr 2008 22:36
Thanks Amy. I was looking at my keyboard upside down... ;-) Omar, either method will get rid of the black highlight. EriK Amy Blankenship wrote: > I think what Erik meant is that if you use the PressKey function to press > the _right_ arrow key the cursor will jump to the end of the field. If you > use the leftarrow key, it will jump to the beginning of the field. -- Erik Lord http://www.capemedia.net Adobe Community Expert - eLearning http://www.adobe.com/communities/experts/ ------------------------------------------------------------------------ http://www.awaretips.net - Authorware Tips! |