TTMSFNCMenuItemDropDownButtonControl.GetPreviousMenuItem Method
Returns the previous selectable (or any) item before this one in the parent menu view.
API unit family: TMSFNCPopupMenu
Declaring type: TTMSFNCMenuItemDropDownButtonControl
Inherited from: TTMSFNCMenuItemControl
Syntax
function GetPreviousMenuItem(ASelectable: Boolean = True): TTMSFNCMenuItemControl;
TTMSFNCMenuItemControl* __fastcall GetPreviousMenuItem(bool ASelectable = true);
Parameters
| Name | Description |
|---|---|
ASelectable |
When True, skips non-selectable items. Default is True. |
Returns
The previous matching menu item control, or nil if this is the first item.