Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

This function sets the host cursor location.  The browser cursor and field focus is not affected by this function.  To set focus to a field in the browser, use the native .focus() method.


  • row, col or element id - green-screen row and column to place the cursor in, or alternatively the id of the element to derive the row and column from


// Use row and column to set the host cursor location
setCursor(24, 1);
// Use element id to set the host cursor
// Set the browser cursor & focus field instead of the host cursor directly
  • No labels