RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebForm.ImplAddElements Method

Provides the underlying implementation for the AddElements method.

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

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

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

 

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