paste function
Ben Rubinstein
benr_mc at cogapp.com
Fri Jun 30 04:14:43 EDT 2006
On 30/6/06 07:23, Chipp Walters wrote:
> Trap the paste key.
>
> on pasteKey
>
> end pasteKey
>
> On 6/30/06, bmmeili at swissonline.ch <bmmeili at swissonline.ch> wrote:
>> Hi
>> How can I prevent the user using the paste function (text) in a
>> standalone?
>> Any suggestions?
(Assuming that your standalone has the regular set of menus, ie including the
Edit menu), you also need to trap the menuPick message:
on menuPick tWhat
if "paste" is not in tWhat then pass menuPick
end menuPick
Ben Rubinstein | Email: benr_mc at cogapp.com
Cognitive Applications Ltd | Phone: +44 (0)1273-821600
http://www.cogapp.com | Fax : +44 (0)1273-728866
More information about the use-livecode
mailing list