finding hte position in the field when backspaceKey hit
Dar Scott
dsc at swcp.com
Mon Jun 10 17:57:35 EDT 2013
This hander in the combo box scripts seems to provide the position before the character is actually removed.
on backspaceKey
put the selectedChunk into field "log"
pass backspaceKey
end backspaceKey
However, I have a feeling I don't really understand what you are doing.
Dar
On Jun 10, 2013, at 3:26 PM, Dar Scott wrote:
> I missed some important part of this. Isn't a combo box a field?
>
>
> On Jun 10, 2013, at 2:35 PM, Dr. Hawkins wrote:
>
>> On Mon, Jun 10, 2013 at 11:49 AM, Devin Asay <devin_asay at byu.edu> wrote:
>>
>>>
>>> Did you try the selectedChunk?
>>>
>>
>> Yes, but the result is nonsensical: with "bac" typed, and hitting
>> backspace,
>>
>> put the selected chunk of btn "abrev"
>>
>> yields,
>>
>> char 1 to 27 of button 13
>>
>>
>>
>>
>> --
>> Dr. Richard E. Hawkins, Esq.
>> (702) 508-8462
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at 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 at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list