Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

KeySetCursor

  • Last UpdatedJul 18, 2023
  • 1 minute read

Displays the command cursor at a specified AN. A keyboard command needs to exist, or you need to first call the KeyAllowCursor() function (at the AN) to allow the cursor to move to the AN. If the AN does not exist, or if a command does not exist at that AN, or if KeyAllowCursor() has not been called, the command cursor does not move.

Syntax

KeySetCursor(nAN)

nAN:

The AN where the command cursor will be displayed.

Return Value

If the AN does not exist, or if a command does not exist at that AN, or if KeyAllowCursor() has not been called, the return value is 1. Otherwise, the function will return 0.

KeyGetCursor, KeyAllowCursor

Example

! Move the command cursor to AN20.
KeySetCursor(20);

See Also

Keyboard Functions

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in