Wouldn't it be neat...

Dr. Hawkins dochawk at gmail.com
Sun Aug 21 12:28:23 EDT 2016


On Sat, Aug 20, 2016 at 8:29 PM, Mike Bonner <bonnmike at gmail.com> wrote:

> Made a button with this..
> on mouseUp
>

I'd actually go with popping up a script on mouseDown . . . I have somewhat
more elaborate code from mouseover popups in my application,

on mouseDown btNo

switch

case  (btNo =2) AND (the selectedText is not empty) then

popup button  chooseTextSurround

break
...

end switch

end mouseDown


I actually palette a stack, but that's more for customization and to have a
scrollable list available, as i recall

-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462



More information about the Use-livecode mailing list