trichview.com

trichview.support




Re: List index out of bounds (-1).


Return to index


Author

Message

Sergey Tkachenko

Posted: 03/30/2004 17:25:20


The most probably this is because of improper using of methods

BeginUndoGroup and SetUndoGroupMode.


It's very important to follow the rules:

1) Each call of SetUndoGroupMode(True) must have the corresponding call of

SetUndoGroupMode(False). If these calls will not be in pairs, undo will not

work properly

2) Each call of SetUndoGroupMode(True) must be preceded by the call of

BeginUndoGroup

3) Typing cannot be grouped

4) There are some limitations on grouping actions in different cell inplace

editors.



> Another TRVE error

>

>   Type   : ERichViewError

>   Message: Can't modify empty undo list.

>

> RichViewActions.pas|TrvActionTableDeleteTable|ExecuteCommand

|7547

> |

> RichViewActions.pas|TrvActionTableCell       |ExecuteTarget

|7187

> |

>

>





Powered by ABC Amber Outlook Express Converter