Skip to main content

TdxPrintStyleManager.BuildAutoHFTextEntriesMenu(TComponent,Pointer,Boolean) Method

Builds a popup menu that contains the AutoText value list in the Print Preview and Page Setup windows.

Declaration

procedure BuildAutoHFTextEntriesMenu(ARootItem: TComponent; AData: Pointer; AIncludeSetupAutoHFTextEntriesItem: Boolean = True);

Parameters

Name Type
ARootItem TComponent
AData Pointer
AIncludeSetupAutoHFTextEntriesItem Boolean

Remarks

Call the BuildAutoHFTextEntriesMenu method to display a menu that contains a list of the predefined AutoText values for headers/footers. The ARootItem determines the component in which the AutoText menu is embedded. The AData pointer may contain a pointer to any additional arbitrary data.

Set the AIncludeSetupAutoHFTextEntriesItem parameter to True to display the Insert AutoText button, or False to hide it.

See Also