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

mobilePickDate /Time missing handler error

Postby 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
Cheng
 
Posts: 1
Joined: Tue May 27, 2014 6:03 pm

Re: mobilePickDate /Time missing handler error

Postby 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
Klaus
 
Posts: 9282
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany


Return to Getting Started with LiveCode - Complete Beginners

Who is online

Users browsing this forum: Klaus and 9 guests