Ios date picker
Posted: Thu Sep 22, 2011 10:55 am
Hi all,
I make a simple stack which use to test the IOS date picker. I put the following code into a button script
on mouseUp
local tDateResult
// launch the date picker
iphonePickDate "date"
// get the result
put the result into tDateResult
// check and display the result in the text field
if tDateResult is 0 then
put "No Selection Made" into field "DateField"
else
convert tDateResult from seconds to abbreviated date
put tDateResult into field "DateField"
end if
end mouseUp
When I run this stack, it return the following error
execution error at line 4 (Handler: can't find handler) near "iphonePickDate"
Am I missing something. Please advise
Regards
Terry Ho
I make a simple stack which use to test the IOS date picker. I put the following code into a button script
on mouseUp
local tDateResult
// launch the date picker
iphonePickDate "date"
// get the result
put the result into tDateResult
// check and display the result in the text field
if tDateResult is 0 then
put "No Selection Made" into field "DateField"
else
convert tDateResult from seconds to abbreviated date
put tDateResult into field "DateField"
end if
end mouseUp
When I run this stack, it return the following error
execution error at line 4 (Handler: can't find handler) near "iphonePickDate"
Am I missing something. Please advise
Regards
Terry Ho