I'm trying to implement my first ever native iOS (and Android) input controls - one is single line for email address, other is for a message (multiline). I am creating both controls on a single card:
Code: Select all
inputCreator "emailInput", "input", "F_inputFieldEmail", "TRUE", "none", "no", "email"
inputCreator "commentInput", "multiline", "F_inputFieldComment", "FALSE", "sentences", "yes", "default"
Code: Select all
on inputCreator pName, pKind, pFld, pAutoFit, pAutoCap, pAutoCorrect, pKeyboardType
   iphoneControlCreate pKind, pName
   iphoneControlSet pName, "rect", the rect of fld pFld
   iphoneControlSet pName, "opaque", "FALSE"
   iphoneControlSet pName, "backgroundColor", "0,0,0,0"
   iphoneControlSet pName, "autoFit", pAutoFit
   iphoneControlSet pName, "autoClear", "FALSE"
   iphoneControlSet pName, "clearButtonMode", "whileEditing"
   iphoneControlSet pName, "autoCapitalizationType", pAutoCap
   iphoneControlSet pName, "autoCorrectionType", pAutoCorrect
   iphoneControlSet pName, "keyboardType", pKeyboardType
   iphoneControlSet pName, "returnKeyType", "done"
end inputCreatorKind regards, Paul.

