button

Description

The button tag creates an button element (push-button) in its parent. It can contain text. The image attribute is not yet supported by PLUG for Java/Swing.

Attributes

    backgroundcolor
    fontbold
    fontitalic
    fontname
    fontsize
    fontunderline (not available)
    foregroundcolor
    id (required)
    image
    onclick
    oncreate (false)
    ondestroy (false)
    popup
    position (center)
    state (enabled)
    text

Children

none.

Description of attributes

image

Specifies which GIF- or JPG- image is used to place next to the caption.

onclick

Specifies whether the button has an onclick event. An onclick event occurs when the button is clicked with the left mouse button. When the value of this attribute is true, an entry, for handling the event, will be created in the code-frame of the parent window.

text

Specifies the text to be displayed on the button element.