Porovnávané verzie

Kľúč

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

...

  1. In the Drawing toolbar click the button CommandLink  .
  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.

    CommandLink parameters are being configured in the palette Connect object through the following tabs:

    The Windows control has no value and therefore the parameters on this tab are meaningful only for the description of the Windows control (see the parameter Text).

    Connected object

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





    The CommandLink as the only Windows control has enabled a bookmark Control and allows direct control of objects after pressing a button without the need to define the script. For a more detailed description of the bookmark, refer to chapter Connecting Object to Control.



    Reference variable

    Serves to name CommandLink in the form of reference variable for use in a 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 in the button. Multiple records are indicated by ",...".

    Event

    The list box allows a user to select active picture event for the CommandLink. The list box contains the following active picture events:



    The OnUserInput event handler is not implemented in Thin Client.

    More Rules on the Drawing Rules and Object Properties page for the D2000 Thin Client.

    Event handler

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



    Info text

    Define Text to display as a tooltip when user points the mouse cursor to the button in the scheme opened in process D2000 HI. 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 scheme script by the function %HI_SetOBJURL.




    Text

    This paramater parameter is used to define text displayed on the button. 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).

    You can also define a hotkey for the button - underlined character. To create an underlined character enter the character & (ampersand) before the required character. The button on the preview has therefore the Text parameter set to &OK. The character that is underlined then serves in combination with the Alt key when viewing the D2000 HI scheme as a shortcut - hotkey. The button displayed above contains the underlined character O, so the hotkey is ALT+O. The hotkey performs the same effect as clicking the mouse button.
    Note: Using hotkeys doesn't work in schemes of MDI type (the parameter Window type - the option MDI Window) , if such a scheme is not a subcheme a subscheme of other another scheme.


    Visible

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

    Disabled

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

    Group

    The parameter allows you to set the group box as the first control of a group of Windows controls.

    Background color

    Background color. If the field contains letter D the default color from the windows is used.

    Multiline

    It is not used.

    Wrapping

    It is not used.

    Transparent

    Is It is not used.

    Look

    Is It is not used.

    Horizontal location

    Is It is not used.

    Up

    Is It is not used.


    Bitmaps

    Tlačidlá umožňujú zobrazovať (podľa stavu v ktorom sa nachádzajúButtons enable displaying (according to the state they are in) 1-2 bitové mapy.

    Okno priradenia bitových máp obsahuje pole výberu bitovej mapy (2) pre vybraný stav tlačidla.

    Image Removed

    Toto pole obsahuje meno bitovej mapy, tlačidlo otvárajúce okno výberu a tlačidlo zrušenia výberu (x).  Zrušenie pripojenia je možné aj zadaním neexistujúceho mena bitovej mapy.

    Pod priestorom výberu sa nachádza pole bitových máp pre možné stavy tlačidla,

    Image Removed

    kde (3) určuje, s ktorým stavom (povolený a zakázaný) sa pracuje v poli výberu. Stredné tlačidlo nie je pre CommandLInk povolené. Ukážka jednotlivých stavov:

    Image Removed

    Výber stavu je pre niektoré stavy (nie pre stav zakázaný) možný ak kliknutím do zobrazenia použitej bitovej mapy. A štart výberu dvojitým kliknutim do zobrazenia použitej bitovej mapy.

    bitmaps.

    The window of assigning bitmaps contains selection filed of a bitmap (2) for selected button state.

    Image Added

    This field contains the name of a bitmap, the button opening selection window and the button ending the selection (x). Ending the connection is possible also by entering the non-existing name of the bitmap. 

    Under the selection field, there is a field of bitmaps for possible button states, 

    Image Added

    where (3) defines with which state (allowed or prohibited) we will work in the selection field. The middle button is not allowed for CommandLInk. An illustration of individual states:

    Image Added

    State selection is for some states (not for prohibited state) possible also by clicking into a display of the used bitmap; and the start of the selection by double-clicking into a display of the used bitmap.  

    Note: When using a color bitmap, Windows system converts it to a monochromatic one, and therefore we recommend to use monochromatic bitmaps to avoid distortion of the color bitmap.  Poznámka: Pri použití farebnej bitovej mapy pre zakázaný stav dochádza v systéme Windows k prevodu tejto bitovej mapy na čierno-bielu bitovú mapu, preto sa odporúča používať monochromatické bitové mapy.

...


Thin The thin client does not support Bmp2.
More Rules on the Drawing Rules and Object Properties page for the D2000 Thin Client.

...