The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Unit: SDL_rchart
Class: TSmithChart
Declaration: procedure RemoveLastItem;

The method RemoveLastItem deletes the last graphics element from the data container. This is equal to removing the last element from the drawing. Note that you have to call the method ShowGraf in order to see any effect.

Hint: RemoveLastItem can be used to move a graphics element across an existing drawing by repeatedly removing the last element and regenerating it at a different location.

Example: This method is used in the following example program (see for downloading the code): schart

Last Update: 2017-Oct-21