Grass Valley K2 TX/MAM User Manual v.2.4 User Manual

Page 25

Advertising
background image

TX/MAM User Manual - document version: 2.4

– Page 25

Following tags, controls and attributes are available:

Tags

XML

These tags are mandatory and start and end the xml-definition.

Example:

<XML> <WINDOW width="400" height="300"

scrollwidth="300"

scrollheight="250">controls</WINDOW> </XML>

WINDOW

Defines the window size (mandatory).

A scrollbox can be defined (optional).

Example:

<WINDOW width="400" height="300" scrollwidth="300"

scrollheight="250">controls</WINDOW>

PAGE

Use to define custom tab pages. The default TX/MAM tabs are Info

and Technical.

Example:

<WINDOW width="400" height="300" scrollwidth="300"

scrollheight="250" > <PAGE

name="tab1">controls</PAGE> <PAGE

name="tab2">controls</PAGE> </WINDOW>

Controls

CHECKBOX

Defines a checkbox.

Example:

<CHECKBOX name="checkbox" x="90" y="90" height="100"

width="100" search="false">label</CHECKBOX>

COMBOBOX

Defines a combobox. Items in the definition must be separated by

"#13" (see the example below). As a default, the first item is selected.

Example:

<COMBOBOX name="combobox" x="90" y="155" height="20"

width="62"

search="true">line1#13line2#13line3#13line4</

COMBOBOX>

DATETIMEPICKER

Defines a date or time picker depending on mode (0=date, 1=time).

The format is optional and depends on the mode used (date or time).

Default modes are "yyyy-MM-dd" for dates and "HH:mm:ss" for time.

Example:

<DATETIMEPICKER name="datetimepicker" x="90" y="70"

height="20" width="50"

search="false"format="hh:mm:ss">1</DATETIMEPICKER>

Advertising