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



Detect if a cell has an item
This code snippet shows how it can be detected whether there is an item in the selected cells or not:
begin if not Assigned(Planner1.Items.FindFirst(Planner1.SelItemBegin, Planner1.SelItemEnd, Planner1.SelPosition)) then begin ShowMessage('Time slot in planner is empty'); end; end;