popupmenu

Description

Popupmenu describes a popupmenu (TPopupMenu) that is used by some element of the window.

Attributes

    backgroundcolor
    fontbold
    fontitalic
    fontname
    fontsize
    fontunderline
    foregroundcolor
    id (required)
    oncreate (false)
    ondestroy (false)
    onshow (false)
    popup
    position (center)
    state (enabled)
    tearoff (false)
    text

Children

menu menuitem.html menuseparator

Description of attributes

onshow

The onshow (OnPopup in Delphi) attribute of popupmenu determines whether there is an onshow event for this window. An onshow event occurs when the popupmenu appears on the screen. When the onshow attribute has the value true, an entry, for handling the onshow event, will be created in the code-frame of the window the popupmenu is in. Allowed values are true and false. The default value is false.

tearoff

Ignored in PLUG for Delphi

text

This options specifies the text for the title of the popupmenu.