"Won't you take me to... Chunky Town?" Remember the song? (Actually
it was Funky Town.) Now this is funkY:
I can't get the chunky thing to report correctly from inside a field.
I'm trying to correctly track the cursor's position in a field. The
symptom is this: the selectedChunk returns the correct result if either
the selection is changed (selectionChanged) or the arrow key is used --
multiple times. However if you change the selection THEN use the arrow,
it does not return the correct result, not until the second arrow
press. Am I doin' somethin' wronnng?
Here's the test code:
on tabKey
put the selectedChunk
pass tabKey
end tabKey
on selectionChanged
put the selectedChunk && the selectedText && the selectedLoc
pass selectionChanged
end selectionChanged
on arrowKey
put the selectedChunk && " "&& the selectedLoc
pass arrowKey
end arrowKey
SelectedLoc seems to always be correct. Can anyone help? Kevin: is
this a bugga-lug? This is driving me crazy but I may have to change
strategy if there's no work around.
PS It's great to see the list has 'cooled down' WRT pricing, twas
gettin' a tad hot (and boring) in here. Back to code and fun things,
oui? I agree there are issues, but let's not put every newcomer off
before their first try...
M@
Matt Denton