# Record TCefMenuModelDelegate

Description
Fields

## Unit

uCEFTypes

## Declaration

`type TCefMenuModelDelegate = record`

## Description

Implement this structure to handle menu model events. The functions of this structure will be called on the browser process UI thread unless otherwise indicated.

NOTE: This struct is allocated client-side.

Implemented by ICefMenuModelDelegate.

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_menu_model_delegate_capi.h">CEF source file: /include/capi/cef_menu_model_delegate_capi.h (cef_menu_model_delegate_t))

## Overview

### Fields

Public | `base: TCefBaseRefCounted;`
Public | `execute_command: procedure(self: PCefMenuModelDelegate; menu_model: PCefMenuModel; command_id: Integer; event_flags: TCefEventFlags); stdcall;`
Public | `mouse_outside_menu: procedure(self: PCefMenuModelDelegate; menu_model: PCefMenuModel; const screen_point: PCefPoint); stdcall;`
Public | `unhandled_open_submenu: procedure(self: PCefMenuModelDelegate; menu_model: PCefMenuModel; is_rtl: integer); stdcall;`
Public | `unhandled_close_submenu: procedure(self: PCefMenuModelDelegate; menu_model: PCefMenuModel; is_rtl: integer); stdcall;`
Public | `menu_will_show: procedure(self: PCefMenuModelDelegate; menu_model: PCefMenuModel); stdcall;`
Public | `menu_closed: procedure(self: PCefMenuModelDelegate; menu_model: PCefMenuModel); stdcall;`
Public | `format_label: function(self: PCefMenuModelDelegate; menu_model: PCefMenuModel; label_ : PCefString) : integer; stdcall;`

## Description

### Fields

Public | `base: TCefBaseRefCounted;`
This item has no description.

Public | `execute_command: procedure(self: PCefMenuModelDelegate; menu_model: PCefMenuModel; command_id: Integer; event_flags: TCefEventFlags); stdcall;`
This item has no description.

Public | `mouse_outside_menu: procedure(self: PCefMenuModelDelegate; menu_model: PCefMenuModel; const screen_point: PCefPoint); stdcall;`
This item has no description.

Public | `unhandled_open_submenu: procedure(self: PCefMenuModelDelegate; menu_model: PCefMenuModel; is_rtl: integer); stdcall;`
This item has no description.

Public | `unhandled_close_submenu: procedure(self: PCefMenuModelDelegate; menu_model: PCefMenuModel; is_rtl: integer); stdcall;`
This item has no description.

Public | `menu_will_show: procedure(self: PCefMenuModelDelegate; menu_model: PCefMenuModel); stdcall;`
This item has no description.

Public | `menu_closed: procedure(self: PCefMenuModelDelegate; menu_model: PCefMenuModel); stdcall;`
This item has no description.

Public | `format_label: function(self: PCefMenuModelDelegate; menu_model: PCefMenuModel; label_ : PCefString) : integer; stdcall;`
This item has no description.

Generated by PasDoc 1.0.4.