View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005268 | JEDI VCL | 00 JVCL Components | public | 2010-06-22 10:00 | 2010-11-09 14:41 |
Reporter | MarkAurelius | Assigned To | obones | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Product Version | 3.39 | ||||
Target Version | Fixed in Version | ||||
Summary | 0005268: The MouseToCell method doesn't work for TJvDrawGrid | ||||
Description | I added this event to work out if the MouseToCell method did what I wanted, i.e. convert the x and y or mouse position to row and col of the cell at x,y: procedure TfmWeekProcessing.grdAttendancesMouseMove(Sender: TObject; Shift: TShiftState; X, Y: Integer); var col, row: integer; begin grdAttendances.MouseToCell(x, y, col, row); StatusBar1.Panels[1].Text := Format('X=%d Y=%d col=%d row=%d', [x, y, col, row]); end; The values returned to col and row were always -1. I changed the type of the grid in the DFM to TDrawGrid, and then MouseToCell gave the correct values. | ||||
Tags | No tags attached. | ||||
|
It seems I have posted this in error. I jumped to a wrong conclusion. The -1 I was seeing was returned when the mouse is over a part of the grid. |
|
Please provide the zipped sources of a sample application showing this |
|
So what should we do here? |
|
Well, I'm assuming there was no bug |
Date Modified | Username | Field | Change |
---|---|---|---|
2010-06-22 10:00 | MarkAurelius | New Issue | |
2010-06-23 03:50 | MarkAurelius | Note Added: 0017511 | |
2010-08-20 11:44 | obones | Note Added: 0017595 | |
2010-08-20 11:44 | obones | Status | new => feedback |
2010-10-08 16:01 | obones | Note Added: 0017808 | |
2010-11-09 14:41 | obones | Note Added: 0018050 | |
2010-11-09 14:41 | obones | Status | feedback => resolved |
2010-11-09 14:41 | obones | Resolution | open => no change required |
2010-11-09 14:41 | obones | Assigned To | => obones |