RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomQueryButtons.ImplAddElements Method

Provides the underlying implementation for the AddElements method.

Pascal
procedure ImplAddElements(AddIntf: IAddScriptElements); override;
C++
virtual __fastcall ImplAddElements(IAddScriptElements AddIntf);

The AddElements method calls ImplAddElements to add any script declarations by calling the AddIntf interface. These declarations allow the generated display control to call script methods in response to user events by ensuring that the required methods are declared. 

As implemented in TWebControlGroup, ImplAddElements does nothing. TWebControlGroup descendants override ImplAddElements to add any required declarations. 

 

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