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



ButtonStyle


Unit: SDL_onoffbut
Class: TOnOffBut
Declaration: property ButtonStyle: TOnOffButStyle;

The property ButtonStyle controls which image is used to display the various button states. The table at the bottom of this page shows the currently available glyphs. Each of the button images consists of four parts of equal size. Which part of the image is displayed as button glyph depends on the properties OnOff and Enabled:

Hint: Please note that the pink color (= $EBBEEB) marks the transparent region of the button glyph.

 

(user-defined
image, see
LoadUserGlyph)

oobsUser

oobsArrowLeftRight

oobsArrowTopRgt

oobsArrowUpDown

oobsBeveledLed

oobsBulb

oobsButLamp

oobsCheckbox

oobsColSlideLR

oobsColSlideTB

oobsHDLeft

oobsHDRight

oobsLedRedGreen

oobsRadioBut

oobsSlideLR

oobsSlideTB

oobsSmileyRedGrn

oobsSmileyYellow

oobsTrafficLPed

oobsUser1

oobsUser2

oobsUser3

oobsUser4

oobsUser5

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



Last Update: 2023-Dec-13