MQL4 Reference
Object functions
ObjectDelete
| bool ObjectDelete( |
string name) |
Deletes object having the specified name.
If the function succeeds, the returned value will be TRUE. Otherwise, it will be FALSE.
To get the detailed error information, one has to call the GetLastError() function.
Parameters:
| name |
- |
Name of the object to be deleted. |
Sample:
ObjectDelete("text_object");
|
|
|