Hi Richmond, In the openField handler or the selectionChanged handler, you need to add a script, which checks whether the number of chars/bytes before the text insertion point is even. If it isn't, move the insertion point by 1 character/byte.
-- Kind regards, Mark Schonewille Economy-x-Talk Http://economy-x-talk.com Share the clipboard of your computer over a local network with Clipboard Link http://clipboardlink.economy-x-talk.com Op 26 aug. 2010 om 23:07 heeft Richmond <[email protected]> het volgende geschreven: > [Working on my G4 MacMini at present] > > So here I am with a long unicodeText string in a field and I want to put some > more unicodeText inside it > (where I set my cursor) . . . > > Adding text at the end is easy: > > Set the unicodeText of fld "XYZ" to the unicodeText of fld "XYZ" & > numToChar(50000) > > Adding text at the start is easy: > > Set the unicodeText of fld "XYZ" to numToChar(50000) & the unicodeText of fld > "XYZ" > > HOWEVER: I want to put my cursor somewhere in the unicodeText in fld "XYZ" and > add my numToChar(50000) there . . . . > > Love, Richmond. > _______________________________________________ > 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
