Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 3 of 3 total |
TGrid.OnMouseDown |
Tue, Apr 25 2017 2:55 PM | Permanent Link |
thomh | Hi,
Is there a way to use the X,Y coordinates in a TGrid.OnMouseDown event to know in which column you clicked? I would like to have a ctIcon column in a Grid which, when clicked, will delete the current row. I tried to read the TGrid.ColumnIndex in the MouseDown event but it shows the last column you were in. Thanks. // Thom |
Thu, Apr 27 2017 9:49 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Thom,
<< Is there a way to use the X,Y coordinates in a TGrid.OnMouseDown event to know in which column you clicked? I would like to have a ctIcon column in a Grid which, when clicked, will delete the current row. >> Is there any reason that the TGrid.OnClick event can't be used ? In the OnClick, you will get the proper row/column index, as well as know that the user both pressed and released the mouse. Tim Young Elevate Software www.elevatesoft.com |
Thu, Apr 27 2017 3:25 PM | Permanent Link |
thomh | Thanks, Tim. TGrid.OnClick will do nicely.
// Thom |
This web page was last updated on Friday, April 19, 2024 at 07:09 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |