Posted 20 June 2019, 4:56 am EST
I need modify the task only with the task info dialog. The event is the same that modifying the task dragging with the mouse.
How can i receive the dialog result?
Thanks
Forums Home / ComponentOne / WinForms Edition
Posted by: jaime.florez on 20 June 2019, 4:56 am EST
Posted 20 June 2019, 4:56 am EST
I need modify the task only with the task info dialog. The event is the same that modifying the task dragging with the mouse.
How can i receive the dialog result?
Thanks
Posted 21 June 2019, 2:13 am EST
Hi,
The sequence of events (when editing using TaskInfo dialog) is “ShowDialog” and then “BeforeEditTask”. You can use this information to Cancel the editing event if the editing was not performed through TaskInfo dialog.
Please refer to the attached sample to see how you can do it.
Regards,
Jitender