RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBDECallback Class

TBDECallback is a wrapper for a Borland Database Engine (BDE) callback function.

Pascal
TBDECallback = class;
C++
class TBDECallback;

Use a TBDECallback object to register a callback function with the BDE. Callbacks allow an application to instruct the BDE to take specific actions in response to events that occur during a BDE function call. 

For example, the TBatchMove object may encounter problems when executing the corresponding BDE batch operation. A callback function can respond to those problems by instructing the BDE to generate a problems table or to trim the data so that the operation succeeds. 

To use a TBDECallback object, take the following steps:

  1. Create an instance of TBDECallback to register the callback with the BDE.
  2. Call the BDE function in which the pertinent events take place. For example, create an instance of TBatchMove, and call its Execute method.
  3. When the BDE function returns, destroy the TBDECallback object to unregister the callback function.

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!