dear all,
in my application I have some grids (TStringGrid) where the dblclick should fire some events related to the selected row. I would like that the dblclick events will be raised only if the dblclick is performed on non-fixed rows.
How can I do that?
andrea
Mailing lists / lazarus / 2010-03
dbl click on a grid
4 messages · 2 people · –
- AAndrea Mauri 3
- HHans-Peter Diettrich 1
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Show quoted text 5 lines
Check the clicked row in your event handler.
DoDi
Il 01/03/2010 22.03, Hans-Peter Diettrich ha scritto:
Check the clicked row in your event handler.
If row = 3 and I click on a fixedrow the row property still remains 3. So how can I check that the dblclick is performed on a fixed row? My problem is that if the user click on the fixed row the grid is sorted, while if the user dblclick on the grid or on a fixed column (non fixed row) a viewer of the current record/row is shown. My problem is that also dblclicking on a fixed row the viewer is shown.
I also noticed that the click event is not raised if I click on a fixed row/column while the dblclick is raised also if performed on a fixed row/column.
any hints?
andrea
Il 02/03/2010 10.56, Andrea Mauri ha scritto:
I also noticed that the click event is not raised if I click on a fixed row/column while the dblclick is raised also if performed on a fixed row/column.
Is it a possibility to introduce a headerdblclick event like the headerclickevent?
andrea
