Contents
- Index
- Previous
- Next
ShowEditMenu method
Declaration
function ShowEditMenu(X, Y: Integer): Boolean;
Description
Provides an easy way to display the standard Edit popup menu at position (X, Y) without dealing with the PopupMenu property.
Returns True on success. Returns False on failure.
Example
procedure TForm1.ProfDHTMLEdit21MouseDown(Sender: TObject; Button: TMouseButton;
Shift: TShiftState; X, Y: Integer);
begin
if Shift = [ssRight] then
(Sender as TProfDHTMLEdit2).ShowEditMenu(X, Y);
end;