Aspen Touch Solutions ATM-123R Series Specifikace Strana 354

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 374
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 353
A-18 Extensibility FAQ
A-18
radio buttons displays the appropriate text.
xii. In the extension code to set the value of Status as
appropriate:
f. Dimension hyStatus as an object in the declaration
section. For example:
g. Use hyStatus to set a reference to the Status object in the
extension definition file (EDF). For example:
h. Set the value of hyStatus as appropriate to show the
appropriate Static Text object. The message which will be
shown based on the value that was determined in step
#ix.
9. How do I add a drop-down (enumeration) list?
Ans: Use the following procedure:
a. Go to the Views Manager property view and press the
Objects Manager icon beside the Selected Objects drop-
down list.
b. In the Variables of Selected Object matrix, type the Tag
name in the Tag column, enter the name in the Name
column, and choose Enumeration in the Type column.
For example,
c. Select the Persistent checkbox and select the dimension
in the N Dimensions drop-down list (none is for a single
selection, vector is for an array of selections).
d. Click the Enumeration Values button and type in the label
(the text that will appear in the drop-down list) and the
value (the value which will be used in the unit operation
extension when an enumeration is chosen from the list).
e. Close the Object Manager property view and open the
form by double-clicking on it in the Existing Views list.
Dim hyStatus as Object
Set hyStatus = hyContainer.FindVariable("Status").Variable
Tag Name Type
List List Enumeration
Objects Manager icon
Zobrazit stránku 353
1 2 ... 349 350 351 352 353 354 355 356 357 358 359 ... 373 374

Komentáře k této Příručce

Žádné komentáře