Undo in Tables
Posted: Thu Nov 03, 2022 6:04 pm
Hi Sergey,
I notice when I type into a table and try to undo, it does nothing. If I click outside the table and undo, it works. Is this the expected behavior? I'd like for the table to undo while I'm still inside the table. I tried this in my rve KeyUp:
This gives me the expected (by me anyway!) behavior. Can you tell me if this is correct?
Thanks Sergey
Stan
I notice when I type into a table and try to undo, it does nothing. If I click outside the table and undo, it works. Is this the expected behavior? I'd like for the table to undo while I'm still inside the table. I tried this in my rve KeyUp:
Code: Select all
procedure TForm1.rveKeyUp(Sender: TObject; var Key: Word; Shift: TShiftState);
begin
if rve.InplaceEditor <> nil then
begin
if (Key = ord('Z')) and (Shift = [ssCtrl]) then
rve.Undo;
end;
...
Thanks Sergey
Stan