Hello,
I have a problem with changing cell from one row to another using key down on keyboard. If I pressed key down on keyboard I want to select text in new active cell. After this I want to write sth n this cell without mouse clisk on it.
gvPliki is type of ultrawingrid.
Private Sub gvPliki_KeyUp(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles gvPliki.KeyUp If e.KeyValue = Keys.Down Then If Me.gvPliki.ActiveCell.Row.Index + 1 = Me.gvPliki.Rows.Count - 1 Then Me.gvPliki.ActiveCell = Me.gvPliki.Rows(Me.gvPliki.ActiveCell.Row.Index + 1).Cells(Me.gvPliki.ActiveCell.Column.Index) End If End If End Sub
Thanks for help
Thank you very much, it works.
After you set the ActiveCell, you can use the PerformAction method of the grid to EnterEditMode on the cell.