Button scripts

General 2018 General.2018 at outlook.com
Sat Oct 5 12:56:17 EDT 2019


Hi ,

Have many buttons that do different operations , each one has the following script :-

Is the script required for each button and is the use of flush correct ?

on mouseUp
set the bordercolor of me to orange
set showBorder of me to true
--- do something
get flushEvents("mouseUp")
end mouseUp



on mouseleave
set showBorder of me to false
get flushEvents("mouseleave")
end mouseleave


Regards
Camm



More information about the use-livecode mailing list