Jump to content

Recommended Posts

Posted

Hi to all !

I'm sure this has been mentioned before, but I can't seem to find it in the forum.
Is there a way to make the calendarPanel display the full 24 hours of the day?
from 12:00 AM to 12:00 PM, both in Day View and Week View?

 

Posted

 

In DayView and WeekView, I'm trying to set TimeStart and TimeEnd to display the full 24-hour range.
I'm using the CalendarPanel Demo, but it's not working as expected.
Am I making any silly mistake that I'm not noticing?

 

image.png.5b96910308a603382f37f2c4998aea14.png

  • 2 weeks later...
Posted
On 2/3/2025 at 9:22 PM, lema said:

image.png.5b96910308a603382f37f2c4998aea14.png

Hello @lema

Sorry for the late response.

Could you please tell me which time format you are using? Additionally, is it possible to change from AM/PM to a 24-hour format (00-23) and test it?

Posted

Hello dear @Sherzod.
I have tried various time formats without success.

In week view, I am trying to:

1. Display in CalendarPanel the full 24-hour period.
2. Allow the creation of an event until midnight (e.g. from 23:00 until 00:00).

I'm testing with Demos\Desktop\CalendarPanel and can't find a way to display midnight (00:00 or 24:00).

procedure TMainForm.UniFormCreate(Sender: TObject);
begin
.
.
  UniCalendarPanel1.WeekTimeRange.TimeStart := StrToTime('00:00');
  UniCalendarPanel1.WeekTimeRange.TimeEnd   := StrToTime('23:45'); // <= How can I set TimeEnd to display midnight ???
.
.

Sorry, it’s probably something simple that I’m missing....

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...