mobilePickDate /Time missing handler error

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
Cheng
Posts: 11
Joined: Tue May 27, 2014 6:03 pm

mobilePickDate /Time missing handler error

Post by Cheng » Thu Jan 12, 2017 11:00 am

Hi,

when i try to use this one line code in simple OnButtonup function:

mobilePickDate "date"

The compile always give me missing handle error
Do i miss includes anything?

I use lastest stable v8.x win
I try use back version 6.x on another pc also same error

While i thought i could find some clues in this clock example but
It did not use mobilePickDate /Time as well

Kindly advise. Thanks

Klaus
Posts: 13793
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: mobilePickDate /Time missing handler error

Post by Klaus » Thu Jan 12, 2017 11:59 am

Hi Cheng,

1.welcome to the forum! :D

2. No need to hide you question deep into a subforum? :D
Will move this thread to the beginner forum.

3. Unfortunately "mobileXXX" handler will only work on mobile devices or in the simulator.
So you need to:

Code: Select all

...
if the environment = "mobile" then
   mobilePickDate "date"
   ### etc...
end if
...
Best

Klaus

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”