- Matthias Rebbe Life Is Too Short For Boring Code > Am 23.12.2020 um 21:26 schrieb Brian Milby via use-livecode > <use-livecode@lists.runrev.com>: > > To improve on my initial suggestion... > > select after char -1 of field 1 > or to improve your 2nd suggestion.. select after fld 1 would do the same. ;) > Sent from my iPhone > >> On Dec 23, 2020, at 3:22 PM, matthias rebbe via use-livecode >> <use-livecode@lists.runrev.com> wrote: >> >> Douglas, >> >> you can use >> >> select after line x of fld y >> >> for this. >> For example to place the cursor after line 3 of fld "text" you would write >> >> select after line 3 of fld "text" >> >> >> Regards, >> >> Matthias >> >> >> - >> Matthias Rebbe >> Life Is Too Short For Boring Code >> >>> Am 23.12.2020 um 20:57 schrieb Douglas A. Ruisaard via use-livecode >>> <use-livecode@lists.runrev.com>: >>> >>> I need to position the cursor at the end of the contents of a single line >>> field. This can be "manually" done by pressing the "END" key while the >>> cursor is in that field. I want to do that positioning programmatically... >>> but ... >>> >>> I've searched all of the "...KeyDown" message options (e.g. commandKeyDown, >>> controlKeyDown, optionKeyDown) and the other "key" message options (e.g. >>> functionKey) and cannot find one which will tell me what the "END" key is... >>> a Windows resource tells me it is "35".... >>> >>> "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? >>> >>> Likely simple but I just can't work it out. Thanks in advance! >>> >>> Douglas Ruisaard >>> >>> Trilogy Software >>> (250) 573-3935 >>> >>> >>> >>> >>> _______________________________________________ >>> 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 >> >> >> _______________________________________________ >> 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 > > _______________________________________________ > 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 _______________________________________________ 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
matthias rebbe via use-livecode Wed, 23 Dec 2020 12:33:22 -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... Mark Wieder 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