ArcFM Engine Developer Guide
MsgCfm Method


The proposed action to perform posed as a question to the user.
Ask the user for action confirmation before proceeding with an action.
Syntax
'Declaration
 
Public Shared Function MsgCfm( _
   ByVal strMsg As String _
) As Boolean
'Usage
 
Dim strMsg As String
Dim value As Boolean
 
value = Messaging.MsgCfm(strMsg)
public static bool MsgCfm( 
   string strMsg
)

Parameters

strMsg
The proposed action to perform posed as a question to the user.

Return Value

True if the user presses the Ok button, otherwise false
Remarks
This static method provides a general utility function to display a proposed action message to the user and obtain the user's confirmation before proceeding with the action. If the user agrees, then it is assumed he will press the Ok button which will cause this method to return a true value. If the user does not want the action to take place, it is assumed he will press the Cancel button which will cause this method to return a false value. Use this function to provide a standard look-and-feel for the program.
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

Messaging Class
Messaging Members

 

 


Send Comment