Splitter enables connecting of two objects of Picture or Graph type and displays in the two windows, and to split the space between them.


Creating the Splitter

  1. In the Drawing toolbar click on the button Splitter Splitter.
  2. Point the mouse cursor to the position of the first splitter corner and click.
  3. Point the mouse cursor to the position of the diagonal splitter corner and click.

The parameters for connecting the progress bar displayer are being configured in the palette Connect object through the following tabs:

Parameters


Pripojenie objektov

The windows may be stacked side by side or above each other.

The parameter Resize defines which window will be resized when changing the size of the splitter:

  • 1. - only the first window is resized,
  • 2. - only the second window is resized,
  • 1.+ 2. - both windows are resized according to their size in the splitter.

The Components button enables to open the dialog window for defining the components of splitter and their parameters. The object is selected from the list of objects, which opens after double-clicking the appropriate field.

Definovanie komponentov

Meaning of columns in the dialog window:

ColumnMeaning
Nr.The number of a component.
Connected objectName of the object that is connected for displaying. When double-clicking the field it causes opening the list of objects.
Object typeType of object that will be displayed in the given part of the splitter. There are two types - Picture and Graph.

Note: The type of object is set automatically according to the object that is selected in the given line (Connected object column). If no object is defined in the line, there is necessary to define the type of object in a script.
Reference variableName of a reference variable, which is assigned to the object for use in the script. When clicking the name of the object it generates the OnClick event.
Min. sizeMinimum reduction of objects.
ParameterThe column contains the type of parameter for the columns Inherited or Defined depending on the type of object:
  • for pictures - instance,
  • for graph - number of lines.
InheritedFor pictures - if it is marked, the instance number of the picture, opened in a window (subpicture), will be the same as a parent picture (the picture which contains the splitter). If it is inactive, the instance number may be entered directly into the Defined column.

For graphs - the parameter is intended for the active graph only and allows defining the row number of all active graph objects in the graph. The row number can be entered directly into the Defined column or derived from the current instance number of the picture (Inherited column). The number of rows can be also changed from the script of the picture by %HI_SetGraphRowNr scrip action.
DefinedFor pictures - instance number of pictures opened in the splitter.

For graphs - the parameter is intended for the active graph only and allows defining the row number of all active graph objects in the graph.
ParameterType of parameter (Multiple opening or Control elements) depending on the type of object:
  • for pictures - enables/disables opening the subpicture with the same instance number in the multiple parent pictures simultaneously,
  • for graphs - shows/hides the control elements in the graph.
Note: To enable/disable the parameter, mark the checkbox in the previous column.

Script


Reference variable

Specifies the name of the splitter in the form of a reference variable for use in the picture script.

Metadata

Assignment of application data (metadata) to a graphic object. If the object contains some metadata, the name of the first record will be displayed on the button. Multiple records are indicated by ",...".

Entry

The list allows users to select an active picture event for the splitter. The list contains the following active picture events:

Event handler

The button opens the active picture script to define the active picture event specified by the parameter Event.

Napíšte komentár