Procedure AlrtDialog displays an alert dialog to the user.
PROCEDURE AlrtDialog(message : STRING);def vs.AlrtDialog(message):
return None| Name | Type | Description |
|---|---|---|
| message | STRING | The alert message to be displayed. |
If message is null, the dialog will not be displayed.
AlrtDialog('No objects are selected for this operation.');vs.AlrtDialog('No objects are selected for this operation.')IF NOT IntersLineLine(p1, p2, p3, p4, theCenter) THEN AlrtDialog(GetPlugInString(3001))
ELSE
BEGIN
theArea := TriArea(p2[1], p2[2], p3[1], p3[2], theCenter[1], theCenter[2]);
IF (theArea > 0) THEN
sign := 1
ELSE sign := -1;
BEGIN
SysBeep;
AlrtDialog (alertMsg1);
item := -1;
END;
BEGIN
Sysbeep;
AlrtDialog (GetPlugInString (3018));
SetItemText(dialogID, 6, '1');
SelectEditText(dialogID, 6);
item := -1;
END;if str == '':
str = ' '
vs.AlrtDialog( str )See also in tutorials: 06. Boolean Solids: Drill a Hole Through a Block, 22. Selected Objects → Worksheet Rows, 25. Geometric Property Extraction Table, 27. Formatted Wall Schedule
Availability: from All Versions