When I have a table with 2 rows; 2 columns in row 1; 1 column in row 2.
I place some text in row2 column 1.
I put the cursor below the table
Then I search for the text in row2 column1 (Search direction: up). This results in an access violation. When I place the cursor above the table and search down everything works fine. This behaviour is always true if the number of columns in the last row is less then the maximum number of columns in the table.
Access violation when using search with table
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
It seems the error occurs in:
function TCustomRVFormattedData.SearchText(Down, MatchCase, WholeWord: Boolean; s:String):Boolean;
function SearchInItem(item: TCustomRVItemInfo; StoreSub: TRVStoreSubRVData;
SubRVData: TCustomRVFormattedData): Boolean;
if Result then
item.ChooseSubRVData(StoreSub); //Access violation
function TCustomRVFormattedData.SearchText(Down, MatchCase, WholeWord: Boolean; s:String):Boolean;
function SearchInItem(item: TCustomRVItemInfo; StoreSub: TRVStoreSubRVData;
SubRVData: TCustomRVFormattedData): Boolean;
if Result then
item.ChooseSubRVData(StoreSub); //Access violation
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact: