ISProfileForm.RaiseControlException

Description

This function raises the exception and shows the balloon message for the specified control.

Syntax

object.RaiseControlException aName, aMessage

Part Attribute Type Description
object Required
The object always implements the ISProfileForm interface
aName In, Required
string
The name of the control
aMessage In, Required
string
The balloon message

Example

Raise the exception and shows the balloon message for the specified control.

Dim aForm

Set aForm = Profile.Form
aForm.RaiseControlException "btnShowGraph", "Cannot show measures Graph for unsaved form."  
Note: This macro should be executed in any event handler of the form control.

Version information

Added in v7.8.0