# Class TCefMenuButtonDelegateRef

Description
Hierarchy
Methods

## Unit

uCEFMenuButtonDelegate

## Declaration

`type TCefMenuButtonDelegateRef = class(TCefButtonDelegateRef, ICefMenuButtonDelegate)`

## Description

This item has no description.

## Hierarchy

- TInterfacedObject
- TCefBaseRefCountedRef
- TCefViewDelegateRef
- TCefButtonDelegateRef
- TCefMenuButtonDelegateRef

## Overview

### Methods

Protected | `procedure OnMenuButtonPressed(const menu_button: ICefMenuButton; const screen_point: TCefPoint; const button_pressed_lock: ICefMenuButtonPressedLock);`
Public | `class function UnWrap(data: Pointer): ICefMenuButtonDelegate;`

## Description

### Methods

Protected | `procedure OnMenuButtonPressed(const menu_button: ICefMenuButton; const screen_point: TCefPoint; const button_pressed_lock: ICefMenuButtonPressedLock);`
This item has no description. Showing description inherited from ICefMenuButtonDelegate.OnMenuButtonPressed. Called when |button| is pressed. Call ICefMenuButton.ShowMenu() to show a popup menu at |screen_point|. When showing a custom popup such as a window keep a reference to |button_pressed_lock| until the popup is hidden to maintain the pressed button state.

Public | `class function UnWrap(data: Pointer): ICefMenuButtonDelegate;`
Returns a ICefMenuButtonDelegate instance using a PCefMenuButtonDelegate data pointer.

Generated by PasDoc 1.0.4.