Difference between revisions of "VS:VM MoveToLayer"

From VectorMEP
Jump to navigation Jump to search
m
m
Line 19: Line 19:
 
== Example ==
 
== Example ==
 
<vwDoc>
 
<vwDoc>
<syntaxhighlight lang="pascal" line = "line">
+
<syntaxhighlight lang="pascal">
 
PROCEDURE Example;
 
PROCEDURE Example;
 
BEGIN
 
BEGIN

Revision as of 07:54, 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

<vwDoc>

PROCEDURE Example;
BEGIN
AlrtDialog('AlrtDialog');
AlertInform('AlertInform', 'advice', FALSE);
AlertCritical('AlertCritical', 'advice');
Message(YNDialog('YNDialog'));
Message(AlertQuestion('question', 'advice', 1, 'ok', 'cancel', 'a', 'b'));
END;
RUN(Example);

</vwDoc>

Version

Availability: from VectorMEP 2021