TdxPrintStyleManager.BuildAutoHFTextEntriesMenu(TComponent,Pointer,Boolean) Method
In This Article
Builds a popup menu that contains the AutoText value list in the Print Preview and Page Setup windows.
#Declaration
Delphi
procedure BuildAutoHFTextEntriesMenu(ARootItem: TComponent; AData: Pointer; AIncludeSetupAutoHFTextEntriesItem: Boolean = True);
#Parameters
Name | Type |
---|---|
ARoot |
TComponent |
AData | Pointer |
AInclude |
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