Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
140
insertion point before selected text in UltraGridCell
posted

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.ActiveCell
If 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.ActiveCell
If cell.IsInEditMode Then
 cell.SelStart = 0
 cell.SelLength = 0

End If

But I didn't see a way to do both.

 

Parents
No Data
Reply
  • 469350
    Offline posted

    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.

Children