Configuring a new Genie is similar to creating a
page with graphical objects, but with genies there is no
background. Typically you create a new Genie using the Graphics
Builder, add the objects, defining the Genie substitutions, and
save the Genie in a Genie library.
To create a new Genie:
From the File menu select New.
Click the Genie button.
Create your Genie object
(defining your substitutions).
In the first example a button object will
be created and saved as a genie:
Select the button object from the
drawing toolbox
Draw a button and in the button
properties dialog:
Configure the appearance of the
button
Configure the input command
Configure the Cicode function and
its parameters.In the example the parameters have been substituted
with a placeholder.
In this example both substitutions are STRING
variable types, therefore the %% characters have been enclosed in
quotation marks.
Click OK to close the
button properties dialog.
Click the Save tool, or
choose File | Save.
Select the Project and Library in
which to store the Genie.
Enter a name for the Genie in
Genie.
Click OK. (To create a new
library for the Genie, click New. In the field provided name the
new library and click OK. The name of the library is added to the
library list.)
In the second example two objects are combined
and saved as a genie.
A text object that shows the Level of Tank 1, and
a symbol object that indicates if Tank 1 is in use.
Select the symbol set object from
the drawing toolbox
Drag onto the blank genie page,
the symbol set dialog will open
Configure the appearance of the
symbol set (Type, On symbol when, OFF symbol, On symbol)
Select the text object and place
onto the page under the symbol.