RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAdapterFormLayout Class

TAdapterFormLayout lets child Web items adhere to layout rules imposed by their parent.

Pascal
TAdapterFormLayout = class(TLayoutWebContent, IGetAdapterFormLayout);
C++
class TAdapterFormLayout : public TLayoutWebContent, public IGetAdapterFormLayout;

TAdapterFormLayout is the default implementation of the ILayoutWebContent interface for WebSnap applications. The Web items that belong to an adapter page producer (TAdapterPageProducer) pass a TAdapterFormLayout instance to their child Web items as the ParentLayout parameter of their Content method. This object provides helper functions that the child items use to fit their generated content into the parent object's HTML structure. 

Use the TAdapterFormLayout properties to configure how the ILayoutWebContent methods convert HTML that child Web items generate into a final form. 

 

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