If you would like to permit the right mouse button click for selecting a cell on the StringGrid, how would you do that ?
Have you try this:
procedure TFormGrid.GridMouseDown(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer);
VAR ACol, ARow: Integer; begin if (button = mbRight) then begin Grid.MouseToCell(X, Y, ACol, ARow); Grid.Row:= acol; Grid.Col:= acol; end; end; _______________________________________________ Delphi mailing list -> Delphi@elists.org http://lists.elists.org/cgi-bin/mailman/listinfo/delphi