RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IGetHTMLStyle Interface

IGetHTMLStyle is used to inquire about the preferred display representation of an adapter field or adapter action.

Pascal
IGetHTMLStyle = interface;
C++
__interface IGetHTMLStyle;

SiteComp

IGetHTMLStyle methods are typically called while generating HTML to display adapter fields and adapter actions. An adapter field implements this interface to indicate, for example, whether it's value should be displayed with an HTML input field or a select list. An adapter action implements this interface to indicate, for example, whether it's value should be displayed with an HTML button or hyperlink. 

TAdapterPageProducer child components may call this interface when generating HTML. For example, TCustomAdapterDisplayField calls GetViewMode when the TCustomAdapterDisplayField's ViewMode property is set to vmDefault. TCustomAdapterActionButton calls GetDisplayStyle when its DisplayType property is ctDefault. 

 

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