Difference between revisions of "VS:VM MoveToLayer"
Jump to navigation
Jump to search
m |
m |
||
Line 18: | Line 18: | ||
== Example == | == Example == | ||
− | + | <pre><font color="blue">PROCEDURE</font> Example; | |
+ | <font color="blue">BEGIN</font> | ||
+ | AlrtDialog(<font color="green">'AlrtDialog'</font>); | ||
+ | AlertInform(<font color="green">'AlertInform'</font>, <font color="green">'advice'</font>, <font color="blue">FALSE</font>); | ||
+ | AlertCritical(<font color="green">'AlertCritical'</font>, <font color="green">'advice'</font>); | ||
+ | Message(YNDialog(<font color="green">'YNDialog'</font>)); | ||
+ | Message(AlertQuestion(<font color="green">'question'</font>, <font color="green">'advice'</font>, <font color="maroon">1</font>, <font color="green">'ok'</font>, <font color="green">'cancel'</font>, <font color="green">'a'</font>, <font color="green">'b'</font>)); | ||
+ | <font color="blue">END</font>; | ||
+ | <font color="blue">RUN</font>(Example);</pre> | ||
== Version == | == Version == | ||
Availability: from VectorMEP 2021 | Availability: from VectorMEP 2021 | ||
[[Category:VS Function Reference:Object Editing]] | [[Category:VS Function Reference:Object Editing]] |
Revision as of 07:26, 16 November 2020
Description
<font color="blue">def</font> vs.AlertQuestion(question, advice, defaultButton, OKOverrideText, CancelOverrideText, customButtonAText, customButtonBText): <font color="blue">return</font> INTEGER
Parameters
question STRING The question to display advice STRING The text to be added in a smaller font under the main information/message defaultButton INTEGER Specifies which button is to be made the default OKOverrideText STRING Specifies a string to use in overriding the 'OK' string CancelOverrideText STRING Specifies a string to use in overriding the 'Cancel' string customButtonAText STRING Specifies a string to use for an optional custom button A customButtonBText STRING Specifies a string to use for a second optional custom button B
Return Value
Remarks
Example
<font color="blue">PROCEDURE</font> Example; <font color="blue">BEGIN</font> AlrtDialog(<font color="green">'AlrtDialog'</font>); AlertInform(<font color="green">'AlertInform'</font>, <font color="green">'advice'</font>, <font color="blue">FALSE</font>); AlertCritical(<font color="green">'AlertCritical'</font>, <font color="green">'advice'</font>); Message(YNDialog(<font color="green">'YNDialog'</font>)); Message(AlertQuestion(<font color="green">'question'</font>, <font color="green">'advice'</font>, <font color="maroon">1</font>, <font color="green">'ok'</font>, <font color="green">'cancel'</font>, <font color="green">'a'</font>, <font color="green">'b'</font>)); <font color="blue">END</font>; <font color="blue">RUN</font>(Example);
Version
Availability: from VectorMEP 2021