When a file is saved, this plug-in checks the corresponding data module, frame, or form for database controls with an Active property set to true, and displays a warning message in the status bar (or a message box with a list of active database components -- TDatabase, TDataSet, etc.).
This plug-in is useful is you're a database programmer and you want to insure that your database controls are not inadvertently active when compiled into your application.
This plug-in registers two new commands that can be assigned to a keystroke, custom toolbar button, or a menu item, or triggered from the CodeRush About box. The commands are described below:
This command determines whether this plug-in will automatically deactivate database components on a save. You can pass one of three parameters to this command:
True: When true, this plug-in automatically deactivates all active database components (e.g., TDatabase, TDataSet) during a save.
False: This is the default. This plug-in will not change the Active state of database components on a save.
Toggle: Toggles the automatic deactivation state.
When you change the Automatic Deactivation state, a message appears in the edit window status bar indicating the current state:
Allows you to specify whether dialogs the Active DB Alerter will present message boxes or place a message on the status bar (silent) when it reports on the Active state of components that you're saving.
You can pass one of three parameters to this command:
True: This is the default. When true, this plug-in prevents the display of the warning message box, and instead executes a message beep and displays warning messages on the edit window status bar.
False: Warning message boxes will be displayed.
Toggle: Toggles the silent alert state.
When you change the Silent state, a message appears in the edit window status bar indicating the change:
Copyright 2004 Ackerson Software, All Rights Reserved.
Active DB Alerter
Author: Mark DuCharme
Created: August 14, 2000
Plug-In Type: Standard
Options Page: Yes/Custom
This plug-in is NOT currently supported.
This plug-in is not the property of Developer Express; it is the sole property of its author. As such, Developer Express cannot be held liable for any incidental damages that may be related to the usage of this plug-in.
The Active DB Alerter displays the number of active components when you save.
You can automatically deactivate Active database components when you save.
You can display warning messages or use the status bar -- the choice is yours.