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



Retrieving the selected dates in a TPlannerMonthView
The TPlannerMonthView holds a collection of selected dates via : PlannerMonthView.Dates. The list of the selected dates can be retrieved via looping through this collection as following code snippet demonstrates:
var i: Integer; dt: TDateTime; begin // get nr. of selected dates Caption := IntToStr(PlannerMonthView1.Dates.Count); // add list of selected dates in a listbox for i := 0 to PlannerMonthView1.Dates.Count - 1 do begin dt := PlannerMonthView1.Dates.Items[i].Date; listbox1.Items.Add(DateToStr(dt)); end; end;