> 23. des. 2020 kl. 20:57 skrev Douglas A. Ruisaard via use-livecode > <use-livecode@lists.runrev.com>: > > "rawKeyDown" tells me the raw key is 65367 ... but how do I "send" a rawkey > value to the active field? Or, ideally, can someone tell me how to > "emulate" the "END" key and position the cursor at the end of the contents > of a single line field? You could try this in the field script: on rawKeyDown theKey if theKey = 65367 then select after me else pass rawKeyDown end if end rawKeyDown This will allow the normal behavior for all other keys when the field is active. Best regards Tore Nilsen _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: move cursor to the end of a line in a field
Tore Nilsen via use-livecode Wed, 23 Dec 2020 13:51:34 -0800
- move cursor to the end of a line in a... Douglas A. Ruisaard via use-livecode
- Re: move cursor to the end of a ... matthias rebbe via use-livecode
- Re: move cursor to the end o... Brian Milby via use-livecode
- Re: move cursor to the e... matthias rebbe via use-livecode
- Re: move cursor to the e... Mark Wieder via use-livecode
- Re: move cursor to t... matthias rebbe via use-livecode
- Re: move cursor to the end of a ... Brian Milby via use-livecode
- Re: move cursor to the end of a ... Bob Sneidar via use-livecode
- Re: move cursor to the end of a ... Tore Nilsen via use-livecode
- Re: move cursor to the end o... Tore Nilsen via use-livecode