Mt_Uiboolentry - Show An Yes No Question In Localized Language - ABB FlexLoader SC 6000 Product Manual

Table of Contents

Advertisement

G.2.9 MT_UIBoolEntry - Show an yes no question in localized language
Usage
MT_UIBoolEntry is used to show a UI message box on Flexpendant. Texts are
fetched from correct message, use also wild card texts if wanted. Only two buttons
are possible to show, one that will give the result TRUE and one that will give result
FALSE. Except for the texts, all other arguments available in UIMessageBox is
available here to.
Basic examples
The following example illustrates the function MT_UIBoolEntry.
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. Two buttons will
show, one with text "Yes" and one with text "No". If the "True button" is pressed,
function will return TRUE.
Return value
Data type: bool
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.
Product manual - FlexLoader SC 6000
3HAC051768-001 Revision: D
G.2.9 MT_UIBoolEntry - Show an yes no question in localized language
VAR bool answer;
answer:=MT_UIBoolEntry("myMessage",\WildCardTexts:=["text 1","text
2"],\TrueButtonText:="Yes",\FalseButtonText:="No");
MT_UIBoolEntry (Identifier , [\WildCardTexts{*}] , [\Wrap] ,
[\TrueButtonText] , [\FalseButtonText] , [\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
255

Advertisement

Table of Contents
loading

Table of Contents