Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

...

Windows control - Static text is used to display a text information.


Example

Example - Static textImage Modified

To create static text

  1. In the Drawing toolbar click the button Static text Button Static text.
  2. Point the mouse cursor to the position of the first displayer corner and click.
  3. Point the mouse cursor to the position of the diametric displayer corner and click. 

...

Selection of an object to connect.
When you connect the object of the Structured variable type, you must define an item. Unique item position in a structured variable is defined by the column name (the parameter Column) and the row number (the parameter Row). For an object of the Value array, you must define the item.

...

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

...

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

Event

The list box allows the user to select a an active picture event for the static text. The list box contains the only active picture event:

...

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

Info text/URL

...

Info text

Text to display as a tooltip when the user points the mouse cursor to the static text in the picture opened in process the D2000 HI process.
Possibility to use the Dictionary (to open press CTRL+L).

URL

Definition of URL address to open a web page from a picture. The address may be set also in the picture script by the function %HI_SetOBJURL.

Properties

...

Connect object palette - Properties tabImage Modified

Kotva
text
text
Text

A string , that will be displayed in the static text. The string may also display current (so-called live) values of the object defined by the parameter Connected object but such strings must be defined in a special format - for detailed information see the chapter Format masks.

Possibility to use the Dictionary (to open press CTRL+L).

Visible

If the parameter is checked, the static text will be visible after first opening the picture in process the D2000 HI process. The parameter can be controlled from the picture script using the function %HI_SetVisible.

...

If the parameter is checked, the static text will be disabled after first opening the picture in process the D2000 HI process. The parameter can be controlled from the picture script using the function %HI_SetEnable.

...

Transparent background of the checkbox.

Note: Transparent background is used for displaying on the monitor only (not for print).

...

Clicking the button placed right opens a list of text fonts. A font selected from the list will be used for the static text. For more information on the text fonts see the topic Text fonts.


Note: Font can be modified (changed) from the picture script using the function %HI_SetFontStyle.

...