
2.ADDING SCREENS USER CUSTOMIZE B-75074EN/04
- 398 -
2.3.4 Message Line
The message line displays a message.
Message <OK> button
Setting
The screen variables and procedure below need to be set.
Screen variables
FNC_MLine_DspMsg
Text character string to be displayed. This
character string needs to be enclosed in double
quotation marks (").
Example: "Error occurred."
FNC_ErrFlag
Whether an error has occurred is indicated.
(*1)
0 (initial value): Normal, Other than 0: Error
FNC_MsgFlag
Whether a character string is to be displayed is
indicated.
(*1)
0 (initial value): Not displayed, Other than 0:
Displayed
(*1) With the message line, the variables are used as an operation
execution condition.
Execution condition: FNC_ErrFlag ≠ 0 or FNC_MsgFlag≠0
Procedure
ErrorFlagLow
Procedure executed to set FNC_ErrFlag=0.
Ensure that the action FNC_ErrFlag=0 is included.
Operation
A message is displayed. When an error occurs, a message is displayed
with FNC_ErrFlag≠0 (red characters). In other cases, a message is
displayed with FNC_MsgFlag≠0 (blue characters).
When FNC_ErrFlag≠0, the <OK> button is displayed. When you click
this button, an event for calling the procedure ErrorFlagLow (setting
FNC_ErrFlag=0 by action) occurs, and the message and button are
hidden.