Thanks for your answer...

I made this in my stack:
Code: Select all
on openCard
if environment() = "mobile" then
send "mouseUp" to btn "PickDate"
end if
end openCard
on mouseUp
if environment() = "mobile" then
iphonePickDate "date"
if the result <> "cancel" then
put the result into resultPickDate
put resultPickDate into line 1 of fld "Field3"
convert resultPickDate to seconds
put resultPickDate into line 2 of fld "Field3"
convert resultPickDate to long date
put resultPickDate into line 3 of fld "Field3"
end if
end if
end mouseUp
And i also tried to put this code in my card:
Code: Select all
on openCard
if environment() = "mobile" then
send "mouseUp" to btn "PickDate"
end if
end openCard
Code: Select all
on mouseUp
if environment() = "mobile" then
iphonePickDate "date"
if the result <> "cancel" then
put the result into resultPickDate
put resultPickDate into line 1 of fld "Field3"
convert resultPickDate to seconds
put resultPickDate into line 2 of fld "Field3"
convert resultPickDate to long date
put resultPickDate into line 3 of fld "Field3"
end if
end if
end mouseUp

So, apparently i didn't see what you mean...

Even if i thought that i understood what you told me, but in the iPad i am not seeing nothing when i enter in the app...The screen is black for one second and then it goes out...

Regards.