Skip to content

Latest commit

 

History

History
65 lines (51 loc) · 1.28 KB

AlertCritical.md

File metadata and controls

65 lines (51 loc) · 1.28 KB

AlertCritical

Description

Informs the user of a serious problem that requires intervention or correction before work can continue.

PROCEDURE AlertCritical(
				text   : STRING;
				advice : STRING);
def vs.AlertCritical(text, advice):
    return None

Parameters

Name Type Description
text STRING The information to be displayed.
advice STRING The text to be added in a smaller font under the main information message

Remarks

Created by TTF 1/18/2005

Examples

AlertDialogsAndMessages

BEGIN
	HandleCustomTB (hasCustomTB);
	IF NOT hasCustomTB THEN AlertCritical (GetPluginString (3017), kAbortMessage);
END

BEGIN
	getLagMetalScrData := 2;
	AlertCritical( errorText, '' );
END

BEGIN
	AlertCritical( errorText, '' );
	getData := FALSE;
END	{of NOT validPathAndFile}
import vs

# Informs the user of a serious problem that requires intervention or
# correction before work can continue.
text = 'Example text'
advice = 'Example'

vs.AlertCritical(text, advice)

See Also

VS Functions: AlertInform | AlertQuestion

Version

Availability: from VectorWorks12.0

Category