This is probably a simple question but was wondering exactly how to place some text into an IOS text field. I have gone through the dictionary, searched the IOS release notes and searched the forum.
I have established the field with the script below.
on inputCreate
if "testinput" is among the lines of iphoneControls() then
inputDelete
end if
iphoneControlCreate "multiline", "testinput"
iphoneControlSet "testinput", "rect", the rect of graphic "InputRect"
iphoneControlSet "testinput", "visible", true
end inputCreate
So how would I go about placing vis script the text "My text data to enter" into that field?
Thanks
Dave
Put some text into an IOS text input field ?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Put some text into an IOS text input field ?
Dave...
This will put 'Boo-hoo' into the UITextfield inputID
be well
Dixie
Code: Select all
global inputID
on mouseUp
iphoneControlSet inputID, "text", "Boo-hoo"
end mouseUp
be well
Dixie
Re: Put some text into an IOS text input field ?
You can use the same method to change almost all the properties of native controls. See the release notes for details 
g

g
14" MacBook Pro
Former LiveCode developer.
Now recovering.
Former LiveCode developer.
Now recovering.