You can do it in inspector,UndoRedoSize property can define the undo operation capcity. it is bigger, memory costs more.
Also,set value by code.
Code example:
procedure TMainFrm.Button1Click(Sender: TObject); begin MyCAD1.UndoRedoSize:=20; //... end;