Before calling GetFocusedItem I called SelectionExists. And SelectionExists resets focus. I have replaced
Code: Select all
RichView.SelectionExistsCode: Select all
RichView.RVData.SelectionExists(false, false)Code: Select all
RichView.SelectionExistsCode: Select all
RichView.RVData.SelectionExists(false, false)