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



SuppressPaint


Unit:SDL_scale
Class:TScale
Declaration:property SuppressPaint: boolean;

Changing any property of the scale will trigger the repaint process. This may result in unnecessary repaint operations if several parameters of a scale are to be changed at once. It is therefore recommended to temporarily switch off repainting when several parameters of a scale are changed programmatically.

Hint: If you are using a TScales component as a sub-component of another one then it may be a good choice to permanently set SuppressPaint to TRUE and trigger der repaint process in the paint method of the parent component by calling ForcePaint.



Last Update: 2023-Dec-13