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



ColorMapMode


Unit:SDL_progbar
Class:TProgBar
Declaration:property ColorMapMode: TColorMapping;

The property ColorMapMode determines how the colors defined by the array BarColors are mapped to the color bar:

cgmCover Creates the illusion that the color bar will cover and uncover a colored structure
cgmStretch Maps the BarColors to the visible part of the progress bar. This creates the impression that the colored structure (as defined by BarColors) is stretched to fit into the progress bar.
cgmMove Creates the illusion that the colored structure is moved along with the progress bar (curtain effect)

Example: This property is used in the following example program (see http://www.lohninger.com/examples.html for downloading the code): sdlprogbar



Last Update: 2023-Dec-14