Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

POSITIONING CURSOR IN EDIT BOX

Status
Not open for further replies.

harryjr

Programmer
Jan 4, 2001
27
US
I'm using an @..EDIT (text editing region) to VIEW/MODIFY
a large MEMO field. I want to place the CURSOR at the END of the TEXT when ever the field is entered. I've tried stuffing the KEYBOARD buffer with {End}'s and {PgDn}'s in the WHEN clause of the Command but it only works if the MEMO
field is not too large. Any ideas???
 
i don't know if this will help, but have you considerd printing the memo out in a window so the last bit will show
then let user edit a seperate memvar and add changes to memo field?

 
I think issuing the KEYBOARD command is a good idea. The problem is that END goes to the end of the current line and PGDN performs only one page down (and it is not necesarily the end of the field, if it's long and depending of the wide of the edit window)

So, try the {CRTL+END} parameter and let us know.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top