beautypg.com

Set data, Set dropbox list – Grass Valley Xstudio Vertigo Suite v.4.10 User Manual

Page 302

background image

Xstudio User Manual

10-37

Adding logic to control objects

Set Data

Adding this action to an event allows you to write a value to the database.

Set the following Action Parameters:

Set Dropbox List

Adding this action to an event allows you to set the contents of a drop box object on the
control side.

Set the following Action Parameters:

Target

To specify the name of a the database variable, enter one of the following:

A local or global variable that will be used by another action or
parameter, e.g. L:SelectedStock.

An expression that resolves to the name of a local or global variable.
For example, if Control:txtName contained StartTime, the Target
would resolve to L:StartTime.

Value

This is where you provide the value that will be written to the database
variable. It must be the same type as the variable, e.g. if the variable holds
a number, this should evaluate to a number.

Target

This parameter identifies the drop-down list box on the control-side that will
display a list of items.

To set this parameter:

1.

Select the parameter’s field and click the

button to

open the T

ARGET

/S

OURCE

S

ELECTOR

dialog box.

2.

Select the C

ONTROL

category in the left panel of the

T

ARGET

/S

OURCE

S

ELECTOR

. A list of the control-side

objects now appears in the right panel of the
Target/Source Selector.

3.

Double-click the dropbox object that will display list of
items. It is added to the upper text box prefixed by
“Control:”.

4.

Click OK and the T

ARGET

parameter is set.

TextSource

Click in the row, and then click the

button to display the T

ARGET

/S

OURCE

S

ELECTOR

. Choose the drop box containing the list items.

This could also be a list of names separated by carets
(e.g. “Boston^Montreal^Toronto”) or a database representing a column of
data each.

This manual is related to the following products: