<< Prev        Next >>

ID : 1884

Function Key

This part resembles buttons in assigning captions to pendant function keys and action source code to function key presses, but it lacks the position properties of other parts because the pendant function keys have fixed positions, specified by number (.index).

Function Key Example

1

Load the editor and place the function key anywhere on the panel layout in the Layout window. Note, however, that the final result will not appear at this position, but on the corresponding function key on the teach pendant screen.

Specify "Next panel" as the display text (.caption) for the function key.

2

Specify the desired function key number (0 to 9). This example uses #2.

3 Adding Action Source Code

This part differs from buttons and other parts in supporting only a single event, CLICKED.

This example responds to the key press by switching to a different panel, Panel2.

4 Changing Function Key Properties

This part differs from other parts in offering only a single property, caption. Access is the same as for other parts.

ID : 1884

<< Prev        Next >>