RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebDataDisplay.GetHTMLForm Method

Used internally to retrieve information about the form in which the display control is defined.

Pascal
function GetHTMLForm: IHTMLForm;
C++
__fastcall IHTMLForm GetHTMLForm();

TWebDataDisplay and its descendants use GetHTMLForm to obtain information about the form in which the generated display control appears. This information is used to generate code for calling form methods in response to user events. 

GetHTMLForm walks up the hierarchy of Web items (using the GetParentComponent method) until it finds a component that can supply an interface for the HTML form. 

 

GetParentComponent

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