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....


Declaration:procedure NewColorOfClassItems (Newcol: TColor; ClassNumber: byte);

The method NewColorOfClassItems assigns the color NewCol to all items in the drawing which have the class number ClassNumber. If the parameter ClassNumber is set to 255, all graphics items are processed.

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

Last Update: 2012-Okt-20