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);
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
function | protected | FMX.ComboEdit.Style.pas FMX.ComboEdit.Style.hpp |
FMX.ComboEdit.Style | TStyledComboEditBase |
Beschreibung
Gibt an, ob Sie die Dropdown-Liste durch Klicken auf die Pfeilschaltfläche öffnen können.
CanDropDown akzeptiert die folgenden Parameter:
AButton
: Die Maustaste, die diesen Aufruf initiiert hat.AShift
: Der aktuelle Umschaltstatus.
Gibt True
zurück, wenn AButton
die linke Maustaste ist.
DoComboMouseDown ruft CanDropDown auf, um zu überprüfen, ob die Dropdown-Aktion fortgesetzt werden soll.