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



Invoked when the component is turns the "Sleep" mode on and off.
Syntax
'Declaration
 
Public Event SleepModeChanged As System.EventHandler
'Usage
 
Dim instance As QueryBuilderControl
Dim handler As System.EventHandler
 
AddHandler instance.SleepModeChanged, handler
public event System.EventHandler SleepModeChanged
public: __event System.EventHandler* SleepModeChanged
Remarks

The "Sleep mode" allows to suppress parsing errors on unsupported SQL statements (CREATE TABLE, INSERT, UPDATE, DELETE, etc.).

Examine the SleepMode Property to learn if the component is currently in the sleep mode or not.

Use this event to show/hide or gray out the visual query builder when the user starts to write an unsupported statement by hand in the text editor.

See Also

Reference

QueryBuilderControl Class
QueryBuilderControl Members

 

 


© Copyright 2005-2012 ActiveDBSoft. All rights reserved.

Send Feedback