I want to highlight a NextGrid's row, on mousemove event...
Here is my code for MouseMove method :
procedure TMyApplication.myNextGridMouseMove(Sender: TObject; Shift: TShiftState; X, Y: Integer); var tCell: TPoint; begin if ActiveControl <> TWincontrol(myNextGrid) then myNextGrid.SetFocus; tCell := myNextGrid.GetCellAtPos(Point(X, Y)); if (tCell.y>=0) and (tCell.Y <= myNextGrid.RowCount) then myNextGrid.SelectedRow := tCell.Y; end;
I want to do the same thing without giving focus to the NextGrid component
is it possible to affect a tNextGrid selection without giving focus ???
Thanks for any suggestion
LLaurent