Highlight a single cell on a datagrid.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello
I have a datagrid, called MyDataGrid and I wish to put the focus on a particular cell in order that the user to highlight the fact that the user needs to enter a value in this cell, e.g. I put the message up "Please enter an order number" I then wish to highlight the column MyDataGrid(0,1), but I can't find out how to do this

Many thanx in advance

Geri
 
Hi,

Dim dgc As DataGridCell
dgc.RowNumber = 1
dgc.ColumnNumber = 1

DataGrid1.CurrentCell = dgc

Ken
 
Back
Top