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