Hello,
I want to Add SpecialDate OnDateSel event.
---For example
procedure TfrmLMDCalendarControls_NewFeaturesDemo.LMDCalendar5DateSel(
Sender: TObject; Date: TDateTime);
var
MyDate:TLMDDateListRecord;
begin
with MyDate do
begin
Datefg := Date;
Date := Date;
DateString := 'Test Day';
Active := True;
Calculated := True;
end;
LMDCalendar5.SpecialDates[0].Dates.AddDate(MyDate);
end;
-----
No error but can not display Selected date Cell.
OnShow event cording is OK.
--------------
procedure TfrmLMDCalendarControls_NewFeaturesDemo.FormShow(Sender: TObject);
var
MyDate:TLMDDateListRecord;
begin
with MyDate do
begin
Datefg := StrToDate('2018/10/01');
Date := StrToDate('2018/10/01');
DateString := 'Test Day';
Active := True;
Calculated := True;
end;
LMDCalendar5.SpecialDates[0].Dates.AddDate(MyDate);
end;
Best regards,
Hiroshi Shibata
Comments