Hello! Your advice, please. On the form, created a button that adds a row to the table and inserts a digit in the first column. If I create an " Undo group "at the beginning of the row creation and finish its creation after adding a digit, then I try to cancel the"Access violation" error. At the beginning of the row is added, write
"rve.BeginUndoCustomGroup('Add Table Main Line');
rve.Set Undo Group Mode (True);"
then there are actions that add a string and a number, and then give the command "rve.Set Undo Group Mode(False);"
How Right to cancel the add table row data
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: How Right to cancel the add table row data
What's your code exactly? Can you post it here?
Unfortunately, the current version of grouping undo operations does not allow grouping operations inside cells (text insertion) and operations outside cells (row addition).
But AV must not happen.
I have an idea how to improve undo grouping, I'll see if I can implement it in the next update.
Unfortunately, the current version of grouping undo operations does not allow grouping operations inside cells (text insertion) and operations outside cells (row addition).
But AV must not happen.
I have an idea how to improve undo grouping, I'll see if I can implement it in the next update.
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: How Right to cancel the add table row data
Implemented in TRichView 17.4