Hi. Is there any function to find the position (chunk) of a character in a string as you type ?.
For example, if I click anywhere in the text of a field (not necessarily at the end, which would be easy) and write 'HOUSE', I would like to know the chunk of all the characters H-O-U-S-E as they are entered.
As far as I know, functions as clickCharChunk or selectedChunk report only on the first character (where the click, the H in the example) but not on others.
Thank you very much in advance.
The position of a typed character.
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: The position of a typed character.
Hi Fermin,
See attached. Look at script on field "fldInput"
Paul
See attached. Look at script on field "fldInput"
Paul
- Attachments
-
- CharPosition.zip
- (715 Bytes) Downloaded 206 times
Re: The position of a typed character.
Great, Paul. I was wrong, the selectedChunk works perfectly. Also in my messages 'on textChanged' and 'on keydown'.
Thank you very much for your help.
Thank you very much for your help.