At 01:32 PM 12/31/2011, Michael J. Sinclair wrote:

If I want to jump to a field with editable text, can I land in the
field where the cursor is at the end of the current text (rather
than at the beginning of the text)? This would be useful to allow
the user to add to the text field without having to move the cursor
first.


How are you jumping from one field to a field with editable text?

If you assign a <Component ID> to a field with editable text, you
may use the specific PROPERTY commands to selectively focus the
field and then automatically place the cursor at the last position.

Here's how:

Using the latest version/update of R:BASE eXtreme 9.1 or 9.5 .....

01. Assign the <Component ID> to a field with editable text

02. Now use the following PROPERTY commands, as "On Exit EEP ..."
    on the field from where you are planning to jump from, to
    selectively focus the field with editable text, and then
    automatically place the cursor at the last position to continue
    typing, etc.

    PROPERTY <Component ID> SET_FOCUS 'TRUE'
    PROPERTY <Component ID> LASTCHAR 'TRUE'
    RETURN

That's all there is to it!

For more details, examples, and defining correct syntax, refer
to R:Docs 9.1.

R:Docs Product: http://www.rbase.com/products/rdocs/

R:Docs Updates: http://www.rupdates.com

Very Best R:egards,

Razzak.


Reply via email to