FMX.ComboTrackBar.Style.TStyledComboTrackBar.CanDropDown

From RAD Studio API Documentation

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. {{#multireplace:FMX.ComboTrackBar.Style.TStyledComboTrackBar.CanDropDown|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:FMX.ComboEdit.Style.TStyledComboEditBase.CanDropDown|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:FMX.ComboEdit.Style.TStyledComboEditBase.CanDropDown|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. 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