FMX.DateTimeCtrls.TCustomDateTimeEdit.ShowContextMenu

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

function ShowContextMenu(const ScreenPosition: TPointF): Boolean; override;

C++

virtual bool __fastcall ShowContextMenu(const System::Types::TPointF &ScreenPosition);

Properties

Type Visibility Source Unit Parent
function protected
FMX.DateTimeCtrls.pas
FMX.DateTimeCtrls.hpp
FMX.DateTimeCtrls TCustomDateTimeEdit

Description

Displays the PopupMenu context menu of this control on the specified ScreenPosition screen point.

FMX.DateTimeCtrls.TCustomDateTimeEdit.ShowContextMenu inherits from FMX.Controls.TControl.ShowContextMenu. All content below this line refers to FMX.Controls.TControl.ShowContextMenu.

Displays the PopupMenu context menu of this control on the specified ScreenPosition screen point.

ShowContextMenu returns True if PopupMenu was successfully displayed. Otherwise, ShowContextMenu returns False.

To set or get a context (pop-up) menu for the current control, use the PopupMenu property.

Descendants can override this method. For example, descendants can show a default context menu if PopupMenu = nil.

See Also