# EventObjectDelete Sets a flag to send notifications of [events](/en/docs/constants/chartconstants/enum_chartevents) of a graphical object deletion. ``` bool  EventObjectDelete(    bool  flag      // flag    ) ``` Parameters flag [in]  New value of a flag to send notifications of events of a graphical object deletion. Return Value true – successful, false - cannot change the flag.