Thanks Mark:
select myChunk was what I needed.
here was my final solution for any others who may be interested
on rawKeyUp keycode
put word 2 of the selectedChunk into cpos
put word 2 of the selectedline into cline
select char 1 of line cline of field "Values"
put word 2 of the selectedChunk into bpos
put cpos - bpos into offs
put line cline of field "Values" into money
if money is a number then
... here I do my update of the Values field ...
select after char offs of line cline of field "Values"
end if
end rawKeyUp
Any thoughts or comments are appreciated.
On Sep 5, 2009, at 4:31 PM, Mark Schonewille wrote:
Dear Severin,
Here is a simple example:
on foo
put the selectedChunk into myChunk
put "bla" after fld "The Field"
if myChunk is not empty then select myChunk
end foo
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
Download Snapper Screen Recorder at http://snapper.economy-x-talk.com
On 5 sep 2009, at 22:50, Severin Swensen wrote:
I am trying to figure out how to save the location of the insertion
point in a field so that after updating that same field I can leave
the cursor where it was originally.
I saw something similar in the "Tale of two Revolutions" session
presented by Robert Cailliau in his Currency conversion demo. As he
changed the values to convert it updated and left the cursor in the
same position.
Thanks for the help.
Severin
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution