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



OnAfterScaleRendered


Unit:SDL_scale
Class: TScale
Declaration: property OnAfterScaleRendered: TScaleRenderedEvent;
{ TScaleRenderedEvent = procedure (Sender: TObject; Canvas: TCanvas) of object; }

The OnAfterScaleRendered event occurs immediately after the scale has been drawn. Use the property Canvas to draw user specific elements.

Hint: Please note that anything drawn on the canvas will overwrite the scale ticks and scale marks. If you want to draw beneath the scale ticks/marks you have to use the OnBeforeScaleRendered event.

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



Last Update: 2008-Okt-29