Document Deletion
The Delete Documents object is used to delete project forms from the system. Since the documents deleted with the document deletion object are removed from the system, this object should be preferred only for the forms that are idle and do not need to be accessed again.
The Delete Document object is dragged from the toolbox panel and dropped onto the stream. When the object in the Flow design screen is clicked, the object properties appear in the Property Viewer panel.
When clicking on the Document Deletion object, there are "Appearance", "Properties" and "Events" tabs in the Property Viewer panel.
Appearance
Text Configs
'Object Name' - The name of the object to be used on the system side. On the code side, the object is accessed by the value that is written in the object name field.
'Caption' - The area where the object's title text is entered.
'Is Lock' - This field is activated if the object is not to be moved at the time of design.
'Size' - The part where the width and height of the object are adjusted.
Properties
Documents
'Documents' - The field lists all the Document objects in the flow design and the selection of the Document object to which the form to be deleted is linked is made from this field. By selecting one or more document objects, it is possible to delete them.
INFO
It is checked by the system that the attached properties on the object are correct. When a missing feature is found, a red exclamation point icon can be displayed on the object, and hovering over the icon with the mouse pointer can display what is missing or incorrect.
Events
Events
The events owned by the Document Delete object are located in the "Events" tab in the Property Viewer panel. Each event is triggered at different runtime moments, performing its own unique operations. Code written by the developer to these events is also executed at the time the corresponding event is triggered. To write code for any event, double-click the appropriate event line from the Events tab. The screen is directed to the flow code editor section named "FlowName.cs" and the method block for the clicked event is automatically created. The developer can construct any code block he wants in this method. Next to the event whose method is created on the code side by clicking from the Events tab, the method name information is automatically generated and the relationship between the event and the method is specified.