mobilepickdate problem LC-7 and above

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
vedus
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 153
Joined: Tue Feb 26, 2013 9:23 am

mobilepickdate problem LC-7 and above

Post by vedus » Sun Dec 07, 2014 4:58 pm

i am try to use the mobilepickdate with the cancel and done buttons in ios but.. no success
code is

Code: Select all

on mouseUp
   mobilePickDate "date",,,,,"cancelDone"
   put the result into field 1
end mouseUp
if you remove the ,,,,,"cancelDone" the script working but without the buttons
if i test the above code with LC 6.7 until 6.7.1 rc3 is working normal.
is a bug or i miss something again with lc7?
i have include the 2 files.
1 saved lc7
1 saved lc 6.7
Archive.zip
simple stack mobiledatepicker
(3.17 KiB) Downloaded 218 times

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

Re: mobilepickdate problem LC-7 and above

Post by bn » Sun Dec 07, 2014 9:20 pm

Hi Vedus,

tested on iPad
I see the same as you do: built with LC 6.7.1 RC3 the mobilePick shows up with buttons cancel and done

when building with LC 7.0.1 RC3 mobilePick does not show when "cancelDone" is in the parameters, only
mobilePickDate "datetime" or "date" without additional parameters work. Clicking outside of the picker selects the date/time and puts it into the result.

Kind regards
Bernd

vedus
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 153
Joined: Tue Feb 26, 2013 9:23 am

Re: mobilepickdate problem LC-7 and above

Post by vedus » Sun Dec 07, 2014 9:28 pm

thank you bn,yes when i click outside i get the results ..

paulsr
Posts: 222
Joined: Thu Jul 19, 2012 9:47 am
Contact:

Re: mobilepickdate problem LC-7 and above

Post by paulsr » Tue Feb 03, 2015 8:49 am

Is there a solution/workaround for this?

I know it's possible to tap outside the picker to get the same effect as tapping Done, but there's no way to Cancel without the picker button. Aside from which I don't think it's very good for app users not to see buttons that used to be there.

I've also noticed a problem with mobilePick. If you include "cancelDone" the picker displays okay, but without the Done and Cancel buttons!

--paul

Post Reply