TiPlotComponent.DeleteDataView
TiPlotComponent See Also
Deletes a specific data view object.
procedure DeleteDataView(Index : Integer);
Description
Call DeleteDataView to delete a specific data view object by specifying the
index of the object. To delete all data view objects, call RemoveAllDataViews.
Currently, only one data view object is supported at this time and the
multiple data view interface is for future expansion. The DataViewCount, AddDataView,
DeleteDataView, and RemoveAllDataViews are reserved for property editors at
this time. Always use an Index of zero when accessing the data view.
Example
Delphi
iComponent.DeleteDataView(0); //Deletes the 1st Object
C++ Builder
iComponent->DeleteDataView(0); //Deletes the 1st Object
Note: Index is zero based.
Contents | Index | Previous | Next