LiveCode provides us with easy access to push buttons, default buttons, and rectangle buttons on the tool palette. Once we drag any of these interface objects onto a card, we can change its style via the properties inspector. This gives us the ability to change a button to any of the following styles: push, square, rounded, transparent, opaque, shadow, checkbox, or radio.
There are several messages related to buttons that are very useful when developing mobile applications. The most frequently used are
mouseUp. Typically, only the
mouseUp message is used; however, there are cases when you might want to use the
mouseDown message. Let's experiment with both.