Frequently Asked Component Specific Questions
Options |
|
Display all FAQ items |
Displaying items 1 to 1 of 1, page 1 of 1
<< previous next >>

TPlannerRangeSelectorThis code snippet shows how to programmatically select a week in the PlannerCalendarGroup
var
StartDate: TDateTime;
i: integer;
begin
StartDate := EncodeDate(2005,2,20);
plannercalendargroup1.MultiSelect := true;
with plannercalendargroup1.Dates do
begin
for i := 1 to 7 do
begin
Add.Date := StartDate + i - 1;
end;
end;
plannercalendargroup1.UpdateDates;
end;