TTMSFNCPlannerCustomItemEditor Class
Abstract base class for custom inline item editors that replace the built-in editing content panel with a user-designed control.
API unit family: TMSFNCPlanner
Inherits from: TTMSFNCCustomComponent
Syntax
TTMSFNCPlannerCustomItemEditor = class(TTMSFNCCustomComponent)
Properties
| Name | Description |
|---|---|
| Planner | The planner component this custom item editor is attached to. |
Methods
| Name | Description |
|---|---|
| CreateCustomContentPanel | Called once to create the custom content panel control; override to instantiate your panel. |
| CreateInstance | Creates and returns a new instance of this custom item editor; override to return your subclass. |
| CustomContentPanelToItem | Called when the dialog is accepted; override to read values from the custom content panel back into AItem. |
| GetCustomContentPanel | Called to retrieve the custom content panel for the specified item; override to return your panel. |
| InitializeCustomContentPanel | Called once after the panel is created to perform one-time setup; override to wire events and set defaults. |
| ItemToCustomContentPanel | Called to transfer item data into the custom content panel controls; override to populate your panel from AItem. |