Skip to main content

Footer Context Menu

The footer context menu allows end-users to specify the required summary types, adjust the calculation base or disable summary calculation for footer cells. This menu can be invoked by right-clicking the footer or any footer cell.

VCL Tree List: A Footer Context Menu

The table below lists the main properties which affect the menu’s appearance and behavior:

Availability

The TreeList control’s PopupMenus.FooterMenu.UseBuiltInMenu option.

Contents

To invoke a custom context menu at runtime, specify the menu via the TreeList control’s PopupMenus.FooterMenu.PopupMenu property and set the PopupMenus.FooterMenu.UseBuiltInMenu property to False. Otherwise, the built-in context menu will be displayed.

Use the TreeList control’s PopupMenus.FooterMenu.Items property to toggle the visibility of specific menu items in the built-in context menu.

Handle the TreeList control’s PopupMenus.FooterMenu.OnPopup event to customize the contents of the invoked context menu.

Behavior

Handle the TreeList control’s PopupMenus.FooterMenu.OnClick event to respond to clicks on items within the built-in context menu.

See Also