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
VAR bool answer;
answer:=MT_UIBoolEntry("myMessage",\WildCardTexts:=["text 1","text
2"],\TrueButtonText:="Yes",\FalseButtonText:="No");
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
MT_UIBoolEntry (Identifier , [\WildCardTexts{*}] , [\Wrap] ,
[\TrueButtonText] , [\FalseButtonText] , [\DefaultBtn] ,
[\Icon] , [\Image] , [\MaxTime] , [\DIBreak] , [\DIPassive]
, [\DOBreak] , [\DOPassive] , [\PersBoolBreak] ,
[\PersBoolPassive] , [\BreakFlag] , [\UIActiveSignal])
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.
Continues on next page
Product manual - FlexLoader SC 6000
255
3HAC051768-001 Revision: D
© Copyright 2014-2020 ABB. All rights reserved.
G FlexLoader Library Add-in reference
G.2.9 MT_UIBoolEntry - Show an yes no question in localized language
RobotWare - OS
Summary of Contents for FlexLoader SC 6000
Page 1: ...ROBOTICS Product manual FlexLoader SC 6000 ...
Page 8: ...This page is intentionally left blank ...
Page 12: ...This page is intentionally left blank ...
Page 78: ...This page is intentionally left blank ...
Page 172: ...This page is intentionally left blank ...
Page 174: ...This page is intentionally left blank ...
Page 176: ...This page is intentionally left blank ...
Page 178: ...This page is intentionally left blank ...
Page 182: ...This page is intentionally left blank ...
Page 184: ...This page is intentionally left blank ...
Page 186: ...This page is intentionally left blank ...
Page 192: ...This page is intentionally left blank ...
Page 224: ...This page is intentionally left blank ...
Page 283: ......