TcxCustomGridHitTest.HitTestCode Method
In This Article
Returns the hit code of the inspected grid element.
#Declaration
Delphi
class function HitTestCode: Integer;
#Returns
Type |
---|
Integer |
#Remarks
Call the HitTestCode
function to identify the visual element located at the inspected point. If the inspected point does not belong to the TcxGrid control client area; the HitTestCode
function returns htError
.
Refer to the OnCustomDrawPartBackground event description for an example on how to use the HitTestCode
method.
See Also