PSheetPrepare

Note: This page includes content based on the F1 documentation for Centura development. It may be partially converted to support APF development, but should be regarded to be of uncertain actuality. It is provided as is. Eventually, it should be replaced by documentation available from within Visual Studio.

SalNumber PSheetPrepare(cPSheetList PSheetList, ref SalString sTitle)	

The framework calls the PSheetPrepare method to retrieve the list of property sheets to display when the user selects properties for a data source.

Parameters

Name Description
cPSheetList PSheetList PsheetList List of property sheets to display. Call PSheetList.Add to add more sheets to the list.
ref SalString sTitle Title of the property dialog. This parameter should be set to a translatable constant.

Returns

This method does not return a value.

Comments

Applications can override the PSheetPrepare method to change what property sheets are displayed. Typically this is used to add extra property sheets to the properties dialog.

Example

public new SalNumber PSheetPrepare(cPSheetList PSheetList, ref SalString sTitle)
{
	#region Actions
	using (new SalContext(this))
	{
		((cFormWindow)this).PSheetPrepare(PSheetList, ref sTitle);
		PSheetList.Add("dlgPSheetReportArchive", 
Ifs.Fnd.ApplicationForms.Const.PSHEET_ReportArchive,
Ifs.Fnd.ApplicationForms.Const.strNULL); } return 0; #endregion }