FKEY table

 images\btn_mini.gif Notation 

Summary

This table contains all the function keys defined in the configuration. This includes both diagram-specific and global function keys.

Important: It is not possible to insert a new record in this table. Create a new record in the CONF table or SUPERCONF table which will supply the OAN, AREA and ENAME fields. Then open the PICTURE table, and set FUNCTIONKEYS to 1. Now you can enter the remaining properties in this table.

Field name

SQL type

Description

GUI name

OAN

INTEGER

The object’s autonumber (read only).

-

AREA

CHAR (31)

The name of the area in which the diagram specified below resides.

Name in Area Properties dialog box

ENAME

CHAR (31)

The name of the diagram for which the function key is defined or Global if you are defining a global function key.

Name in Diagram Properties dialog box

FKEYINDEX

INTEGER

A number identifying the function key:

1 = F1 (used to access Help by default)

2 = F2

3 = F3

…..

Function keys drop-down list on Function Key Assignment tab

TARGETOAN

INTEGER

The target object’s autonumber.

-

TARGETAREA

CHAR (31)

The name of the area in which the target object resides.

-

TARGETNAME

CHAR (31)

The name of the object you want to activate with the function key

Object name drop-down list on Function Key Assignment tab

ATOM

INTEGER

A number identifying the exact atom you want to activate.

Click here images\chiclet.gif to view the list of atom IDs used.

Index on Function Key Assignment tab

VBAEVENT

INTEGER

0 = Do not run VBA code.

1 = Run VBA code when pressed.

Run VBA code on Function Key Assignment tab

OUTVALUE

DOUBLE

The command you want to issue (digital) or the value you want to insert (other object types) when the operator presses this function key.

NOTE: For diagrams, always specify “0”.
For digital objects, specify the command number corresponding to the command you want to issue.

The numbers can be found in the DIG_CMD table

Command/Value on Function Key Assignment tab


 
See Also