Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxSpreadSheetTableView.ShowEditByMouse(Integer,Integer,TShiftState) Method

Activates an in-place editor for a cell under the mouse pointer.

#Declaration

Delphi
procedure ShowEditByMouse(X: Integer; Y: Integer; AShift: TShiftState);

#Parameters

Name Type
X Integer
Y Integer
AShift TShiftState

#Remarks

The ShowEdit, ShowEditByKey, and ShowEditByMouse procedures are designed to activate an in-place cell editor programmatically.

Activates the in-place editor for a cell in which the mouse pointer is located. This method is called internally when an end-user clicks a cell within the Spreadsheet Control. If the control is not focused, calling the ShowEditByMouse procedure has no effect.

The state of mouse buttons is passed as the AShift parameter. X and Y parameters identify the respective coordinates of the mouse pointer relative to the top left corner of the Table View worksheet.

To close the in-place active cell editor, invoke the HideEdit procedure.

Note

You may need to move the input focus to the Spreadsheet control by calling its SetFocus method prior to invoking the ShowEditByMouse procedure.

See Also