FMX.ComboEdit.Style.TStyledComboEditBase.CanDropDown
Delphi
function CanDropDown(const AButton: TMouseButton; const AShift: TShiftState): Boolean; virtual;
C++
virtual bool __fastcall CanDropDown(const System::Uitypes::TMouseButton AButton, const System::Classes::TShiftState AShift);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | FMX.ComboEdit.Style.pas FMX.ComboEdit.Style.hpp |
FMX.ComboEdit.Style | TStyledComboEditBase |
Description
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.