Active Query Builder 2 .NET Edition reference
UserMessage Event (QueryBuilderControl)



Fired when the component is about to show the warning message to the user.
Syntax
'Declaration
 
Public Event UserMessage As UserMessageEventHandler
'Usage
 
Dim instance As QueryBuilderControl
Dim handler As UserMessageEventHandler
 
AddHandler instance.UserMessage, handler
public event UserMessageEventHandler UserMessage
public: __event UserMessageEventHandler* UserMessage
Event Data

The event handler receives an argument of type UserMessageEventArgs containing data related to this event. The following UserMessageEventArgs properties provide information specific to this event.

PropertyDescription
Message Gets the warning message string to be displayed to the user.
MessageId Gets the value that uniquely identifies the situation that requires to warn the user.
Remarks

You can avoid displaying of the warning message by handling this event.

Currently it is fired when multiple columns with same name appear in sub-queries in result of user actions as this may lead to inconsistence in the calling sub-query.

See the UserMessageEventArgs class for details.

See Also

Reference

QueryBuilderControl Class
QueryBuilderControl Members

 

 


© Copyright 2005-2012 ActiveDBSoft. All rights reserved.

Send Feedback