Field-Map Scripting

4.1.1.1.7 BlinkingMessage

BlinkingMessage function


Prototype:

function BlinkingMessage (Msg,Msg2,DlgType :string; Timer_ms :integer; Blink_ :boolean; BlinkingInterval_ms_ :integer): integer

Description:

The procedure displays a message box containing a (blinking/ not blinking) "Dialog type", the text specified by two Str parameters and the "OK" button.

Syntax:

BlinkingMessage(Str1, Str2, DlgType, Timer, Blink, BlinkingInterval);


Part

Description


Str1

Variable declared as string that specifies a text to be displayed in the message box (first row).


Str2

Variable declared as string that that specifies a text to be displayed in the message box (second row).


DlgType

Variable declared as string that defines a type of the message box. Possible values are "Information", "Error", "Warning".


Timer

Variable declared as integer that specifies for how long the message box will be displayed (in miliseconds).


Blink

Variable declared as boolean that specifies if the message box should be blinking.


BlinkingInterval

Variable declared as integer that specifies blinking interval in miliseconds.

Return value:

Returns the value of the button the user selected


Note: This function is available since version X7.



Example:


Begin
  BlinkingMessage('Attention', 'Measurement canceled', 'Warning', 4000, true, 300);
End.



See also:

ShowMessage; ShowMsg; ShowInformation; ShowWarning; ShowError; YesNoQuestion; BlinkingMessage; OpenWebPage