Mt_Uimessagebox - Show A Message Box In Localized Language - ABB FlexLoader SC 6000 Product Manual

Table of Contents

Advertisement

G.2.11 MT_UIMessageBox - Show a message box in localized language
Usage
MT_UIMessageBox is used to show a UI message box on Flexpendant. Texts are
fetched from correct message, use also wild card texts if wanted. Except for the
header and body texts, all other arguments available in UIMessageBox is available
here to.
Basic examples
The following example illustrates the function MT_UIMessageBox.
Example 1
This will show a UI message box on the Flexpendant with header and text fetched
from the message corresponding to identifier "myMessage". Wild cards {1} and
{2} will be replaced with "text 1" and "text 2" correspondingly. The rest will be
according to the standard UIMessageBox function without additional arguments.
Return value
Data type: btnres
Arguments
Identifier
Data type: string
System unique string that gives the possibility to point to a specific message.
\WildCardTexts{*}
Data type: string array
String array of wild cards text to use for this message.
[\Wrap]
Data type: switch
If selected, all the specified strings in the argument \MsgArray will be concatenated
to one string with single spaces between each individual string and spread out on
as few lines as possible.
Default, each string in the argument \MsgArray will be on separate line on the
display.
[\Buttons]
Data type: buttondata
Product manual - FlexLoader SC 6000
3HAC051768-001 Revision: D
G.2.11 MT_UIMessageBox - Show a message box in localized language
VAR btnres answer;
answer:=MT_UIMessageBox("myMessage",\WildCardTexts:=["text 1","text
2"]);
UIMessageBox ( Identifier , [\WildCardTexts{*}] [\Wrap][\Buttons]
| [\BtnArray] [\DefaultBtn] [\Icon][\Image] [\MaxTime]
[\DIBreak] [\DIPassive] [\DOBreak] [\DOPassive]
[\PersBoolBreak] [\PersBoolPassive] [\BreakFlag]
[\UIActiveSignal])
© Copyright 2014-2020 ABB. All rights reserved.
G FlexLoader Library Add-in reference
RobotWare - OS
Continues on next page
263

Advertisement

Table of Contents
loading

Table of Contents