Pushbutton, 19 pushbutton, Webgui – CUE WebGUI User Manual

Page 19: Description, Properties, Events

Advertising
background image

User Manual

Page 19

www.cuesystem.com
[email protected]

WebGUI

PushButton

Description

This button behaves like a simple push button. It has only two states - State Up and State Pushed.

Button is in State Pushed when it is pushed, otherwise it is in State Up. Button generates OnPush event

when it is pushed. The object is identified by ID and all objects on the same page must have unique ID

> 0. When the property RepeatInterval is set to value > 0 and a button is pushed, it starts to generate

OnPush event periodically with time period RepeatInterval until the button is released. When property

FlipToPage is set to ID of existing page, the button switches pages.

Properties

Property Name

Data Type

Allowed Values

Default Value

Description

Behavior Group
ID

Long

> 0

1

This number identifies

object and it must be

unique for PushButtons

placed on the same page.

FlipToPage

Long

0

ID of a target page.

RepeatInterval

Time

Any non-negative

00:00:00.00

Period of generating

events while button is

pushed.

Caption Group
Align

Long

Left-Top := 1

Left-Middle := 2

Left-Bottom := 3

Center-Top := 4

Center-Middle := 5

Center-Bottom := 6

Right-Top := 7

Right-Middle := 8

Right-Bottom := 9

Center-Middle := 5

Horizontal and vertical

align of Caption text.

FontColor

Long

Any

_COLOR_BLACK

Color of Caption text.

FontName

Text

Verdana := “Verdana”

Verdana := “Verdana”

Font name.

FontSize

Long

12

16

20

12

Font height in pixels.

FontStyle

Long

Regular := 1

Italic := 2

Bold := 3

Bold Italic := 4

Regular := 1

Defines style of the font.

OffsetX

Long

0

Axis x offset of the

caption text in pixels.

OffsetY

Long

0

Axis y offset of the

caption text in pixels.

Text

AddressOf Text

Any

txtCaption = ”Caption”

Text shown on the button.

It is converted to single

line text automatically.

Events

Event OnPush As Process ()
This event is generated when the button is pushed.

Advertising