Components for Delphi and C++ Builder.

Go to Russian forum
Go to EhLib.com
It is currently 28 Mar 2024, 14:57

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 09 Sep 2019, 16:57 
Offline

Joined: 13 Jul 2019, 19:08
Posts: 88
it is showing only two letters and not three as in "TDBDateTimeEditEh"

Example "Monday" shows "Se" would have to be "Seg"

other than "PlannerCalendarPickerEh" doesn't show me the
NextMonth
PreviusMounth

How do I solve it ?


Attachments:
PlannerCalendarPickerEh.png
PlannerCalendarPickerEh.png [ 58.42 KiB | Viewed 1266 times ]
Top
 Profile  
 
PostPosted: 17 Sep 2019, 22:21 
Offline

Joined: 08 May 2014, 18:06
Posts: 660
Hello

--
Unfortunately, the library has no settings for this section.
The best way is to change the source code of the component.

Code:
unit PlannerCalendarPickerEh;
...
procedure TCustomCalendarMonthViewEh.DrawWeekDayNamesCell(ACol, ARow: Integer;
  ARect: TRect; State: TGridDrawState);

...
  //DName := Copy(FormatSettings.ShortDayNames[DNum], 1, 2); // Old code
  DName := FormatSettings.ShortDayNames[DNum]; // New code
...


You can also write new version of TCalendarMonthViewEh and override virtual method DrawWeekDayNamesCell.

--
Quote:
other than "PlannerCalendarPickerEh" doesn't show me the NextMonth PreviusMounth

I can’t understand the question, you can rephrase it.
In your screenshot, the buttons for moving to the next month, previous month are visible clearly.

_________________
Best regards
EhLib Support Team


Top
 Profile  
 
PostPosted: 18 Sep 2019, 10:27 
Offline

Joined: 13 Jul 2019, 19:08
Posts: 88
Quote:
I can’t understand the question, you can rephrase it.
In your screenshot, the buttons for moving to the next month, previous month are visible clearly.



when I refer to "NextMonth PreviusMounth" not the buttons but the days of the previous month and the next month that are not shown, as you can see in the image I have composed two components of yours where one is complete and the other not.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 51 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group