RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomProvider.DoBeforeGetParams Method

Generates a BeforeGetParams event.

Pascal
procedure DoBeforeGetParams(var OwnerData: OleVariant); virtual;
C++
virtual __fastcall DoBeforeGetParams(OleVariant OwnerData);

The GetParams method calls DoBeforeGetParams to generate the BeforeGetParams event before fetching the current parameter values of the associated dataset. 

OwnerData supplies custom information to the BeforeGetParams event handler. The event handler can change this value. The returned value is then passed to an AfterGetParams event handler and then returned to the caller of the GetParams method. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!