ios date pickup

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
terryhcw3
Posts: 6
Joined: Wed Apr 13, 2011 2:13 pm

ios date pickup

Post by terryhcw3 » Wed Apr 13, 2011 2:17 pm

Hi,

I'm new to live code. How can I make a IOS application have a date field, the field use date pickup to pickup the date.

Can any one provide an example or point me the example in the live code web site.

Regards

Terry Ho

Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am

Re: ios date pickup

Post by Dixie » Wed Apr 13, 2011 4:21 pm

Hi Terry...

I'm not too sure I understand exactly what you are after, but if it is just to get hold of the time then something like

put the long time into fld 1 - if you want the time in a field
put the long time into myVariable - if you want the time in a variable and want to do something with it.

Have a look at at 'date', 'time' and dateItems' in the dictionary.

be well

Dixie

Klaus
Posts: 14182
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: ios date pickup

Post by Klaus » Wed Apr 13, 2011 4:32 pm

Hi Dixie and Terry,

I'm sure that Terry means the nice iOS "Date picker" and how to use it.
Unfortunately this one is not (yet) supported in LiveCode iOS.


Best

Klaus

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4166
Joined: Sun Jan 07, 2007 9:12 pm

Re: ios date pickup

Post by bn » Wed Apr 13, 2011 6:18 pm

Hi Terry,

do you mean something like this?

http://berndniggemann.on-rev.com/slotma ... index.html

Kind regards

Bernd

terryhcw3
Posts: 6
Joined: Wed Apr 13, 2011 2:13 pm

Re: ios date pickup

Post by terryhcw3 » Thu Apr 14, 2011 12:38 pm

Hi Bernd,

Under your rev web site. This is what I want in IOS environment.

Can you web site function work in IOS ?

Regards

Terry Ho

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4166
Joined: Sun Jan 07, 2007 9:12 pm

Re: ios date pickup

Post by bn » Thu Apr 14, 2011 1:04 pm

Hi Terry,

this is the stack:

http://berndniggemann.on-rev.com/slotma ... ne.rev.zip

it works in iOS but not perfectly. It is a little sluggish on the iPhone G3. This is because it does not use the native scroll, it is a homemade scroll. I can't get the native scroller to work for the endless scroll I need for this.

Try if it works for you on iOS

Kind regards

Bernd

terryhcw3
Posts: 6
Joined: Wed Apr 13, 2011 2:13 pm

Re: ios date pickup

Post by terryhcw3 » Fri Apr 15, 2011 12:49 pm

Hi Bernd,

Thanks. I will take a deep study on it (because to me, as a beginer, I need more time to study it).

If live code develop team see this post, I hope they can make more effort in it. This is the basis function what we want, I feel disappoint on live code.

But thanks the Forum member, thanks your help. It make me learn a lot.


Regards

Terry Ho

Post Reply