18.01.2015 Views

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Screens and Graphics<br />

Besides adding, moving or deleting Objects in the Symbol, you can also edit the Object Properties as you<br />

normally would. You may want some properties to be the same in every instance of the Symbol, but other<br />

properties need to be customized according to where and how the Symbol is used. In this example, you<br />

probably want to customize the captions for the three check boxes, the tags with which the check boxes<br />

are associated, and the caption for the pane itself.<br />

2. Select the first Object in the Symbol and open its Object Properties. For example, the first check box:<br />

Object Properties for the First Check Box<br />

3. In any field where you would normally configure a tag, expression, or value, you can instead define a<br />

Custom Property using the sytax…<br />

#[Category.]Property:[Value]<br />

…where:<br />

• Category is an optional name for a collection of related properties, such as all captions or all Check<br />

Box values. If you do not specify Category for a property, then it will be automatically listed under the<br />

"Main" category.<br />

• Property is a label to identify the specific property. Property is required for each property, and it<br />

must always be followed by a colon (:).<br />

• Value is an optional default value for the property.<br />

Note: All Tag/Expression syntax rules apply to Value, including tag names, pointers, arrays,<br />

strings, numerical and boolean values, and scripting functions.<br />

In the following example, we want to be able to customize which tag will be set when the Check Box is<br />

selected or cleared. So, in the Tag field, type #Option1.Tag: as shown.<br />

Defining a Custom Property for the Tag Field<br />

When you go to complete the properties on an instance of the Symbol, #Option1.Tag: will appear like<br />

this:<br />

Custom Properties on a Symbol<br />

Page 206<br />

<strong>InduSoft</strong> Web Studio

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!