FMX.ComboTrackBar.Style.TStyledComboTrackBar.CanDropDown

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function CanDropDown(const AButton: TMouseButton; const AShift: TShiftState): Boolean; override;

C++

virtual bool __fastcall CanDropDown(const System::Uitypes::TMouseButton AButton, const System::Classes::TShiftState AShift);

Properties

Type Visibility Source Unit Parent
function public
FMX.ComboTrackBar.Style.pas
FMX.ComboTrackBar.Style.hpp
FMX.ComboTrackBar.Style TStyledComboTrackBar

Description

Indicates whether you can open the drop down list by clicking on the arrow button.

FMX.ComboTrackBar.Style.TStyledComboTrackBar.CanDropDown inherits from FMX.ComboEdit.Style.TStyledComboEditBase.CanDropDown. All content below this line refers to FMX.ComboEdit.Style.TStyledComboEditBase.CanDropDown. Indicates whether you can open the drop down list by clicking on the arrow button.

CanDropDown accepts the following parameters:

  • AButton: The mouse button that initiated this call.
  • AShift: The current shift state.

Returns True if AButton is the left mouse button.

DoComboMouseDown calls CanDropDown to check if the drop down action should proceed.

See Also