Hi,
another doubts about the date picker...
 
How can i change the location of this object?
I tried with this line in the code, but it is not doing nothing...
 
Code: Select all
      set the loc of iphonePickDate to 250 & comma & 450
So, this all the code:
Code: Select all
on mouseUp
   if environment() = "mobile" then
      iphonePickDate "date"
      set the loc of iphonePickDate to 250 & comma & 450
      if the result <> "cancel" then
         put the result into red
         put red into line 1 of fld 1
         convert red to seconds
         put red into line 2 of fld 1
         convert red to long date
         put red into line 3 of fld 1
      end if
   end if
end mouseUp
I need to locate the picker, because i will need to show two pickers ( one with date, and another one only to choose one value) and both they should appear when i open the card and i one precise place...
And even to make it appear in "on openCard" or "on openStack" is not working...

 Only with one "on mouseUp"...
Is it normal? Because in the dictionary it was not written that is restricted only to "on mouseUp"...
So, i don't know how, but i thnk it should be possible to locate the date picker where you want and maybe too call it from one "on openCard"...
Thanks in advance!
Regards.