List Column - ColumnPopup Property

Popup Panel to display as a menu

Member of List Column (PRIM_LIST.Column)

Data Type - PRIM_PPNL - Popup panel

Details

The ColumnPopup property is a reference to a PopupPanel or Menu that can be displayed by clicking the menu icon show in the column header.
 
By default, a "hamburger" image is used. This can be changed via the ColumnPopupImage property

Example

Single column list with an attached menu
Begin_Com Role(*EXTENDS #PRIM_WEB) Height(712) Width(1024) Popup(#PopupMenu1)
   Define_Com Class(#PRIM_LIST) Name(#List) DisplayPosition(2) Left(16) Parent(#COM_OWNER) TabPosition(1) Top(16) Height(401) Width(587) RowLines(False) ColumnLines(False) RowHeight(30)
   Define_Com Class(#PRIM_LIST.Number) Name(#ColumnNUMBER) ColumnWidth(136) DisplayPosition(1) Increment(1) Parent(#List) Source(#xDemoNumber) Wrap(False) ColumnPopup(#PopupMenu1)
   Define_Com Class(#PRIM_PPNL.Menu) Name(#PopupMenu1) MenuSizing(Popup)
   Define_Com Class(#PRIM_PPNL.MenuItem) Name(#MenuItem1) Caption('MenuItem1') DisplayPosition(1) Parent(#PopupMenu1) TabPosition(1) TabStop(False) Width(148)
   Define_Com Class(#PRIM_PPNL.MenuItem) Name(#MenuItem2) Caption('MenuItem2') DisplayPosition(2) Parent(#PopupMenu1) TabPosition(3) TabStop(False) Top(25) Width(148)
   Define_Com Class(#prim_list.ButtonCurrentItem) Name(#ButtonFocusItem) Reference(*Dynamic)
   Define_Com Class(#PRIM_PPNL.MenuItem) Name(#MenuItem3) Caption('MenuItem3') DisplayPosition(3) Parent(#PopupMenu1) TabPosition(2) TabStop(False) Top(50) Width(148)
 
End_Com

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020