Procedure TWPReporterFieldsCollection.AppendToMenu(Menu:TMenu; OnClickEvent:TNotifyEvent)
Unit: WPRTEReport
Class: WPRTEReport.TWPReporterFieldsCollection
Parameters
-
Menu:TMenu OnClickEvent:TNotifyEvent
Description
Appends items to a menu or popup menu. The high word of the 'Tag' of each menu item will be set to the item index in this collection. The low word will be set to the item index of the field name in the FieldNames list of each item. You can use theAppendMenu will not append field names which cannot be used because the the cursor is currently not in the group specified by property RequiredParentGroup.