TTMSFNCPlanner.OpenEditingDialog Method
Opens the built-in editing dialog for inserting or updating an item.
API unit family: TMSFNCPlanner
Declaring type: TTMSFNCPlanner
Inherited from: TTMSFNCCustomPlanner
Syntax
procedure OpenEditingDialog(AStartTime, AEndTime: TDateTime; AResource: Integer; ATitle, AText: String; AUpdateItem: Integer = -1; ACustomParent: TTMSFNCPlannerCustomParent = nil); virtual;
Parameters
| Name | Description |
|---|---|
AStartTime |
Start date and time for the edited item. |
AEndTime |
End date and time for the edited item. |
AResource |
Resource index assigned to the item. |
ATitle |
Initial item title shown in the editor. |
AText |
Initial item text shown in the editor. |
AUpdateItem |
Index of the item to update, or -1 to insert a new item. |
ACustomParent |
Optional parent control for the editor UI. |