[Overview][Constants][Types][Classes][Procedures and functions][Index] | Reference for unit 'ComCtrls' (#lcl)

# TNoteBookStringsTabControl.GetPopupMenu

Gets the value for the PopupMenu property.

## Declaration

Source position: comctrls.pp line 746

`protected function TNoteBookStringsTabControl.GetPopupMenu: TPopupMenu; override;`

## Function result

Value for the property.

## Description

GetPopupMenu is an overridden TPopupMenu function which implements the read access specifier for the PopupMenu property. The return value contains the TPopupMenu instance from the Parent control when it is derived from TTabControl and Options contains the value nboHidePageListPopup. Otherwise, the inherited method in TControl is called to get the popup menu instance for the control.

## See also

TTabControl |  | TTabControl - a series of Tabs along the edge of a display area; selection of a Tab governs the contents of the DisplayRect.
TPageControl.Options |  | The set of Options enabled for the tabbed control.
TPopupMenu |  | Implements a menu panel that pops up on the screen when the right mouse button is clicked.
TControl.GetPopupMenu |  | Gets the value for the PopupMenu property.
TControl.PopupMenu |  | A context-sensitive menu that pops up when the right mouse button is clicked over this control.
TControl.Parent |  | The control within which the control is shown.