RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebPageInfo.Create Constructor

Creates and initializes a TWebPageInfo object.

Pascal
constructor Create(AAccess: TWebPageAccess = [wpPublished]; const APageFile: string = '.html'; const APageName: string = ''; const ACaption: string = ''; const ADescription: string = ''; const AViewAccess: string = '');
C++
__fastcall TWebPageInfo(TWebPageAccess AAccess = [wpPublished], const AnsiString APageFile = '.html', const AnsiString APageName = '', const AnsiString ACaption = '', const AnsiString ADescription = '', const AnsiString AViewAccess = '');

Typically, you do not need create a call to the Web page information object constructor. The Web page module wizard generates code to make this call and pass the resulting object instance to the constructor of a Web page module factory. You may, however, want to edit the generated call to the constructor, changing some of the parameter values that the wizard supplies. 

AAccess specifies access information for the associated Web page. 

APageFile specifies the name (or extension) of the file that the associated Web page module uses to generate its content. It becomes the value of the PageFile property. 

APageName is the logical name of the associated Web page. It becomes the value of the PageName property. 

ACaption is the title that appears on the associated Web page. It becomes the value of the PageTitle property. 

ADescription is a brief description of the associated Web page. It becomes the value of the PageDescription property. 

AViewAccess is the view access string that represents a set of access rights needed to work with the associated Web page. It becomes the value of the ViewAccess property. 

 

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