Grass Valley Xstudio Vertigo Suite v.4.10 User Manual

Page 275

Advertising
background image

10-10

Xstudio User Manual

Adding logic to control objects

This means that when the button is clicked, it sends the custom event to Textbox2
(which is expecting it) with the contents of Textbox1 as the parameter.

8.

Select Textbox2 on the control panel and then select your custom event from the Event list.

9.

Select S

ET

T

EXT

from the A

CTIONS

drop-down list and click the A

DD

A

CTIONS

button.

The S

ET

T

EXT

action is immeditaley added to the Action Table.

10. In the S

OURCE

field of the A

CTION

P

ARAMETERS

, type Event: and then the event

parameter. For example, if your User Defined event is MyEvent(text), you would
enter Event:text.
• You can also format the S

OURCE

parameter. For example, to make the

parameter text appear uppercase you would put Event:text in parentheses
and precede it with ucase.

• You could also append text by using & and then text in quotation marks. For

example, your entry could look like this: ucase(Event:text) & “ is
coming up next”

.

11. In the T

ARGET

field, type Control:Textbox3.

This indicates that Textbox3 will be receiving the text specified by the User Defined
event parameter. In this case, the text is coming from Textbox1, and will be formatted
and extended by the time it reaches Textbox3.

12. Switch to Production mode (CTRL + P).
13. Type text in Textbox1, click the button, and then watch the text appear in Textbox3.

Advertising
This manual is related to the following products: