Skip to main content
Table of Contents

TTMSFNCCustomPlanner.OpenEditingDialog Method

Opens the built-in editing dialog for inserting or updating an item.

API unit family: TMSFNCPlanner Declaring type: TTMSFNCCustomPlanner

Syntax

FMX.TMSFNCPlanner.hppPascalC++
procedure OpenEditingDialog(AStartTime, AEndTime: TDateTime; AResource: Integer; ATitle, AText: String; AUpdateItem: Integer = -1; ACustomParent: TTMSFNCPlannerCustomParent = nil); virtual;
virtual void __fastcall OpenEditingDialog(System::TDateTime AStartTime, System::TDateTime AEndTime, int AResource, System::UnicodeString ATitle, System::UnicodeString AText, int AUpdateItem = 0xffffffff, TTMSFNCPlannerCustomParent* ACustomParent = (Fmx::Types::TFmxObject*)(0x0));

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.