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



LoadUserGlyph


Unit: SDL_onoffbut
Class: TOnOffBut
Declaration: procedure LoadUserGlyph (FName: string);

The method LoadUserGlyph loads the user-defined button image from a BMP file into memory. The parameter FName contains the filename of the bitmap file which has to conform to the button image format.

Hint: The ButtonStyle property has to be set to oobsUser in order to show the user-defined glyph.

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



Last Update: 2012-Oct-20