ActionTest demo->load document -> List index out of b
Posted: Thu Jan 30, 2014 12:40 pm
Hello,
I need to use the ActionTest demo project as a base for the application (with multi tabbed documents).
I wanted to load an existing document. I used the following approaches but all gave the error: "List index out of bounds -1"
Approach 1.
ActiveEditor.RichViewEdit.LoadRVF('j:\Test1.rvf') ;
Approach 2.
ActiveEditor.ActiveEditor.LoadRVF('j:\Test1.rvf') ;
By the way it is very confusing that TSrRichView edit has a property named ActiveEditor and the ActionTest demo project has a variable named ActiveEditor .
Approach 3.
SRichViewEdit.ActiveEditor.LoadRVF.LoadRVF('j:\Test1.rvf') ;
Can you help me? Thank you in advance
I need to use the ActionTest demo project as a base for the application (with multi tabbed documents).
I wanted to load an existing document. I used the following approaches but all gave the error: "List index out of bounds -1"
Approach 1.
ActiveEditor.RichViewEdit.LoadRVF('j:\Test1.rvf') ;
Approach 2.
ActiveEditor.ActiveEditor.LoadRVF('j:\Test1.rvf') ;
By the way it is very confusing that TSrRichView edit has a property named ActiveEditor and the ActionTest demo project has a variable named ActiveEditor .
Approach 3.
SRichViewEdit.ActiveEditor.LoadRVF.LoadRVF('j:\Test1.rvf') ;
Can you help me? Thank you in advance