Jump to content

Recommended Posts

Posted

Hello,
Is there any way to limit the showing items in time portion of the uniDateTimePicker (eg. 09:00' - 15:00')?
Also, can we change the step ? (eg. 30 min instead of 15 min) ?

UniGUI v.1.90.0.1537 (Delphi 10.2)

TIA,
Lefteris

 

image.png.c1b9b043bb5f04179e40e288de6e2130.png

Posted
3 hours ago, lema said:

Is there any way to limit the showing items in time portion of the uniDateTimePicker (eg. 09:00' - 15:00')?
Also, can we change the step ? (eg. 30 min instead of 15 min) ?

Hello,

This post may help you:

 

  • Like 2
  • 7 months later...
Posted

 

Hello, I have a strange behavior with the UniDateTimePicker.

If you add the following code on uEdits of MegaDemo and play around for a while,

the error "The time in this field must equal to or after 09:00:00" will popup !

Delphi 10.2

uniGUI 1.90.0.1549

 

procedure TuEditsFrame.UniFrameCreate(Sender: TObject);
begin
  UniDateTimePicker2.ClientEvents.UniEvents.Values['beforeInit'] :=
    'function beforeInit(sender, config)' +
    '{' +
    '  config.minValue  = ''09:00''; ' +
    '  config.maxValue  = ''15:00''; ' +
    '}';
end;

 

UniDateTimePicker.jpg.9fa4977fd288f42e809f43463cce19e1.jpg

Posted
1 hour ago, lema said:

the error "The time in this field must equal to or after 09:00:00" will popup !

Hello,

Did it work in previous versions?

Posted
3 hours ago, Sherzod said:

Hello,

Did it work in previous versions?

Hello, 

I have the same behavior in different apps built with 1.90.0.1537 

 

Posted
1 hour ago, lema said:

I have the same behavior in different apps built with 1.90.0.1537 

Hello,

I couldn't reproduce this issue.

What's your timezone?

Posted
4 minutes ago, Sherzod said:

Hello,

I couldn't reproduce this issue.

What's your timezone?

Hi, 

I am at Athens/Greece on EEST(UTC +3)

 

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...