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


Unit: SDL_onoffbut
Class: TOnOffBut
Declaration: procedure SetUserGlyph (Img: TBitMap);

The method SetUserGlyph copies the user-defined button image contained in Img into the button image cache. The bitmap 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.

Last Update: 2012-Okt-20