Page 1 of 1

mobilepickdate problem LC-7 and above

Posted: Sun Dec 07, 2014 4:58 pm
by vedus
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

Re: mobilepickdate problem LC-7 and above

Posted: Sun Dec 07, 2014 9:20 pm
by bn
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

Re: mobilepickdate problem LC-7 and above

Posted: Sun Dec 07, 2014 9:28 pm
by vedus
thank you bn,yes when i click outside i get the results ..

Re: mobilepickdate problem LC-7 and above

Posted: Tue Feb 03, 2015 8:49 am
by paulsr
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