Inserting a new screen – Rockwell Automation 8520-9API 9/Series OCI API Developer's Guide User Manual

Page 38

Advertising
background image

3–17

OCI Basic Display Set (BDS)

Publication 8520-6.6 - August 1999

4. After deciding if you are entering a key or row you are prompted

to add a screen number. If this softkey is to call a new form you
should select “Yes”.

Screens for the Basic Display Set are called by softkey events.
When you add a new softkey using the softkey editor (Create New
Softkey Pointer) you are prompted to add a screen number as shown
above.

When you select yes to add the softkey screen number the source
code adds a screen pointer to the softkey structure. Note the screen
pointer added is always the same number as the softkey pointer (see
page 3–17 for details on screen pointers).

To edit, view, or change the screen pointer for a softkey, view the
screen pointer by clicking on the K button to toggle it to S (screen
mode). Change the pointer manually as discussed in the next
section.

Creating/Editing the Screen Pointer

To change the screen number called when a softkey is pressed, edit
the “Screen Pointer Number” field while in the softkey editor. You
can change this field for the five softkeys. You can not change the
screen number displayed when the up arrow (back) or right arrow
(more) softkeys are pressed.

Screen Pointer Number Fields (buttons 1 thru 5)

Must be in Screen

Edit Mode (S)

Important: Edits to this field are typically only necessary when

changing the field for an existing softkey. If you are
adding a new softkey to call a screen follow the
directions for adding a softkey on page 3–16 and you
will be prompted if you want the system to add the
screen number automatically.

Inserting a New Screen

Advertising