Book Image

LiveCode Mobile Development Beginner's Guide (2nd Edition)

Book Image

LiveCode Mobile Development Beginner's Guide (2nd Edition)

Overview of this book

Table of Contents (15 chapters)
LiveCode Mobile Development Beginner's Guide Second Edition
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Time for action – using native controls from MobGUI


MobGUI allows you to switch between the native control theme for iOS and Android or to redefine your own themes.

  1. Right-click on the little image of the iPhone in the MobGUI window and make sure that you're on the Native iOS controls set.

  2. Go to the Email card and drag 3 Input text controls from the MobGUI window and one Multiline text control.

  3. Name the Input controls as To, CC, and Subject and the Multiline text control as Body. You can also add some regular LiveCode Label fields alongside the input fields as an indicator of what to enter. Size the Body field big enough to enter a few lines of text. Also, add some background color to the fields or the card so that the fields are seen properly.

  4. As you make each field, note that you can set the keyboard type as well. Set it to Email for the To and CC fields.

  5. From the iOS Controls 1 set, drag two buttons on the card window. Name one Done and the other Send. You should have a screenshot like this...