Time for action – using native controls from MobGUI
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.
Go to the Email card and drag three Text controls and one Multiline Text control from the Native iOS Controls set in the MobGUI window.
Name the Text controls as
To
,CC
, andSubject
, and the Multiline Text control asBody
. The size of theBody
should be made big enough to enter a few lines of text.As you create each field, note that you can set the keyboard type. Set it to
Email
for theTo
andCC
fields.From
iOS Controls 1
set and drag two Buttons onto the card window. Name oneDone
, and the otherSend
. You should have something that looks like the following screenshot:When we test the app and touch one of the fields, the keyboard overlay will appear. We'll use the
Done
button as a way to hide the keyboard. Add a focus line to thetouchEnd
handler of theDone
button script:on touchEnd pId mobGUIUntouch the long...