Multiple OnSelectCell Events

Hi,

I am getting 2 OnSelectCell events with a single click on a cell.



I simplified all other events and no difference. goRowSelect is true,



I tried the ASG1 sample and it does not exhibit multiple events. My grid uses a number of options.



Any ideas what might be causing the 2 OnSelectCell Events



Call Stack on first:

Main.TMainForm.SrchResGridSelectCell($520B4E0,0,2,False)

Vcl.Grids.TCustomDrawGrid.SelectCell(???,???)

BaseGrid.TBaseGrid.SelectCell(0,2)

AdvGrid.TAdvStringGrid.SelectCell(0,2)

Vcl.Grids.TCustomGrid.MoveCurrent(0,2,True,True)

Vcl.Grids.TCustomGrid.MouseDown(mbLeft,[ssLeft],62,54)



Call Stack on Second

Main.TMainForm.SrchResGridSelectCell($520B4E0,0,2,False)

Vcl.Grids.TCustomDrawGrid.SelectCell(???,???)

BaseGrid.TBaseGrid.SelectCell(0,2)

AdvGrid.TAdvStringGrid.SelectCell(0,2)

Vcl.Grids.TCustomGrid.MoveCurrent(0,2,True,True)

Vcl.Grids.TCustomGrid.MoveAnchor((0, 2))

Vcl.Grids.TCustomGrid.MouseMove([ssLeft],62,54)



Thanks,

Bob K.

Without at least knowing your grid property settings & event handlers, it is very hard to guess what is causing this. Also, are you using the latest version of the grid?