How to judge the mouse point to the data line at the bottom of the blank space?
CodePudding user response:
VarAHitTest: TcxCustomGridHitTest;
The begin
AHitTest:=cxGrid1DBTableView1 GetHitTest (Mouse. CursorPos);
If AHitTest is TcxGridViewNoneHitTest then begin
ShowMessage (' ');
The end;
The end;
This, similar to this method, determine the change
CodePudding user response:
Hello, TcxGridViewNoneHitTest is what meaning, how a piece of code like this point would performCodePudding user response:
Used CX, if DBGRIDEH, if the judge a non-empty value is empty, we can determine whether is empty? A shot in the dark, you give it a try,CodePudding user response:
Still not solve, please adviseCodePudding user response:
Don't know cxgrid, if it is a TDBgrid, or from TCustomGrid derived, directly obtained a MouseCoord coordinates corresponding cell, if there is no cell coordinates, is (1, 1)