Is it possible to have the insertion point before the selected text in an UltraGridCell? The customer wants just one cell in the grid to behave this way.
I know I can select the text like this:
Dim cell As UltraGridCell = grid.ActiveCellIf cell.IsInEditMode Then cell.SelStart = 0 cell.SelLength = cell.Text.Length End If
And set the insertion position like this:
Dim cell As UltraGridCell = grid.ActiveCellIf cell.IsInEditMode Then cell.SelStart = 0 cell.SelLength = 0
End If
But I didn't see a way to do both.
Hi,
I'm not sure I am following you.
So you want select all of the text, but still have the insertion point at the end of the text instead of at the beginning? I don't think that's possible.
Thanks for the reply. No, it's currently working the way you described (insertion point after selected text). I was wondering if it is possible to have the insertion point before the selected text. I know it's a silly requirement and may not be possible. I just wanted to double check.