There are 2 columns of dates in the ElXtree; columns 0 and 1.RoSelected and FullRowSelect are both True.
When the user presses F2 I want the left column of dates to be placed into edit mode,
and Shift+F2 for the right column of dates.
I use an Action Manager action to process the keys, and this is not an issue.
I have tried:
with TimeTree do
begin
RowSelect := False;
FullRowSelect := False;
with ItemFocused do
begin
Cells[0].Selected := True;
end;
end;
InPlaceDTP.StartOperation();
Although there is a change of highlight on the row that is similar to what happens when I use the mouse to edit one of the datetime cells, I am unable to edit the datetime value.
What needs to be done to make this work?
Thanks.
Raymond
Comments