Posted 25 July 2022, 3:07 pm EST
Is it possible to be able to handle an event for when the user clicks on a hyperlink inside a rich text cell type?
I can see when I go into edit mode that the icon changes to the hand icon when over a hyperlink, and I can see the RichTextEditor control has a LinkClicked event - but I can’t work out how I can get that event.
If I have a Farpoint Spread control named grdNotes, I can set a cells CellType to be RichTextCellType and the user can enter rich text:
FarPoint.Win.Spread.CellType.RichTextCellType rtfCellType = new FarPoint.Win.Spread.CellType.RichTextCellType(); grdNotes.ActiveSheet.Cells[0, 0].CellType = rtfCellType;
But how do I get the RichTextEditor from that cell? RichTextEditor exists in the FarPoint.Win.Spread.CellType namespace, and it has a LinkClicked event which seems to be what I want, but I can’t get that control.