Jump to content


Photo

Mobile DateTime Picker


  • Please log in to reply
5 replies to this topic

#1 WillemvanZyl

WillemvanZyl

    Newbie

  • uniGUI Subscriber
  • Pip
  • 8 posts

Posted 24 August 2017 - 06:52 AM

Hi,

 

I am trying to implement the solution given in this topic:

 

http://forums.unigui...r-sencha-touch/

 

But get the following error: Ajax Error: C is not a constructor.

 

Any help with this?

 

Thank you in advance


  • 0

#2 Delphi Developer

Delphi Developer

    Advanced Member

  • Moderators
  • 3430 posts

Posted 24 August 2017 - 07:00 AM

Hi,

It should work, can you check it once again?
  • 0

#3 WillemvanZyl

WillemvanZyl

    Newbie

  • uniGUI Subscriber
  • Pip
  • 8 posts

Posted 24 August 2017 - 07:23 AM

I seem to be missing something. I have implemented the events as is. Is my source files located correctly?

Attached Files


  • 0

#4 Milan Kunes

Milan Kunes

    Newbie

  • uniGUI Subscriber
  • Pip
  • 2 posts
  • LocationPrague

Posted 12 October 2017 - 07:39 PM

The same problem... I am absolutely newbie with fantastic uniGUI and now I got stuck.


  • 0

#5 Delphi Developer

Delphi Developer

    Advanced Member

  • Moderators
  • 3430 posts

Posted 12 October 2017 - 08:06 PM

Hi,

 

http://forums.unigui...uch/#entry29506

...

 

2. and add these files to your project (CustomFiles...):

files/DateTime.js
files/DateTimePicker.js

3.

UnimDatePicker1.DateFormat := "dd/MM/yyyy H:i"

  • 0

#6 Milan Kunes

Milan Kunes

    Newbie

  • uniGUI Subscriber
  • Pip
  • 2 posts
  • LocationPrague

Posted 12 October 2017 - 08:09 PM

exactly  :) 

This works.
UniAddJSLibrary('files/DateTime.js', False, [upoPlatformMobile]);

UniAddJSLibrary('files/DateTimePicker.js', False, [upoPlatformMobile]);

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users