Vcl.CategoryButtons.TButtonDrawState

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

TButtonDrawState = set of (
bdsSelected,     // Item is selected and in the "down" state
bdsHot,          // Item has the mouse over it
bdsFocused,      // Item should show focus
bdsDown,         // Item is being pressed by the user
bdsDragged,      // The drag image for that button is being drawn
bdsInsertLeft,   // Show that an item can be inserted to the left of this item
bdsInsertTop,    // Show that an item can be inserted above this item
bdsInsertRight,  // Show that an item can be inserted to the right of this item
bdsInsertBottom  // Show that an item can be inserted below this item
);

C++

typedef System::Set<Vcl_Categorybuttons__1, Vcl_Categorybuttons__1::bdsSelected, Vcl_Categorybuttons__1::bdsInsertBottom> TButtonDrawState;

Propriétés

Type Visibilité  Source Unité  Parent
set
typedef
public
Vcl.CategoryButtons.pas
Vcl.CategoryButtons.hpp
Vcl.CategoryButtons Vcl.CategoryButtons

Description

Valeurs indiquant l'état de dessin des boutons.

Les paramètres suivants vous permettent de définir l'état de dessin des boutons :



Paramètre Description

bdsSelected

L'élément est sélectionné et dans l'état enfoncé.

bdsHot

La souris se trouve sur l'élément.

bdsFocused

L'élément doit détenir la focalisation.

bdsDown

L'utilisateur a cliqué sur l'élément.

bdsDragged

L'image de glissement de ce bouton est en train d'être dessinée.

bdsInsertLeft

Montre qu'un élément peut être inséré à gauche de cet élément.

bdsInsertTop

Montre qu'un élément peut être inséré au-dessus de cet élément.

bdsInsertRight

Montre qu'un élément peut être inséré à droite de cet élément.

bdsInsertBottom

Montre qu'un élément peut être inséré sous cet élément.