O'Reilly logo

LiveCode Mobile Development HOTSHOT by Edward D Lavieri Jr.

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Buttons

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.

Engage Thrusters

There are several messages related to buttons that are very useful when developing mobile applications. The most frequently used are mouseDown and 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.

  1. Let's begin by creating a new main stack named InteractiveFun_v3 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required