Commandes d’instrument
En un coup d'œil
- Retrouvez les propriétés et les événements des contrôles dans le panneau Object Inspector et découvrez leurs méthodes avec Ctrl+Espace.
- Comprenez quelles méthodes les contrôles héritent des classes VCL et quelles méthodes supplémentaires ils proposent.
- Consultez les références des méthodes propres à chaque composant, en gardant à l’esprit la limitation concernant la prise en charge des FPGA.
L’onglet Tool Palette's Instrument Controls contient des composants (contrôles) utilisés pour concevoir l’interface graphique d’un panneau Instrument personnalisé dans Altium Designer. Ces contrôles sont spécifiquement destinés à être utilisés avec l’instrument personnalisé.
► Consultez Interface graphique d’un instrument personnalisé - Contrôles d’instrument disponibles pour obtenir une description fonctionnelle de chaque contrôle d’instrument.
Pour afficher les propriétés et les événements associés à un composant de contrôle d’instrument placé sur une fiche de script, utilisez l’onglet Properties ou Events du panneau Object Inspector (View » Panels » Object Inspector).
Pour trouver une méthode (ou une propriété) particulière d’un contrôle d’instrument, utilisez la fonction de complétion de code (voir Outils de l’éditeur de scripts). Par exemple, en saisissant TInstrumentCheckBox.get, la fenêtre de complétion de code affiche une liste filtrée des méthodes et propriétés du composant TInstrumentCheckBox . Utilisez Ctrl+Space pour ouvrir manuellement la fenêtre de complétion de code.

Utilisez la fonction de complétion de code (Ctrl+Space) pour afficher les méthodes ou propriétés disponibles pour un composant.
Héritage
La plupart des classes de contrôles d’instrument héritent de leurs méthodes (ainsi que de leurs propriétés et événements) des classes de base TGraphicControl ou TCustomControl de la VCL Delphi. Les méthodes de contrôle d’instrument décrites ici s’ajoutent donc à celles de l’une de ces classes de base, comme indiqué dans chaque entrée de référence.
À titre d’exemple, la hiérarchie d’héritage descendante du contrôle TInstrumentCheckBox est la suivante :
| Chaîne d’héritage | Méthodes |
|---|---|
TGraphicControl |
Consultez la référence Delphi correspondante. |
TCustomInstrumentCheckBox |
Consultez l’entrée TXPCheckBox ci-dessous. |
TInstrumentCheckBox |
Consultez l’entrée TXPCheckBox ci-dessous. |
Méthodes des composants
Les composants de contrôle d’instrument Altium reposent sur les classes fondamentales de la bibliothèque de composants visuels (VCL) d’Embarcadero. Chaque contrôle d’instrument hérite des méthodes, propriétés et événements de sa classe VCL d’origine, et la plupart proposent des méthodes personnalisées supplémentaires. Par exemple, le composant TInstrumentCheckBox et le composant standard TCheckBox proposent tous deux la méthode Click, tandis que le composant TInstrumentCheckBox fournit également la méthode Changed.
Utilisez la liste suivante pour accéder aux informations sur les méthodes disponibles pour chaque composant de la catégorie Contrôles d’instrument :
![]() |
TSignalLinkManager | Gestionnaire de liaison des signaux d’instrument. |
| TInstrumentBackgroundPanel | Couleur d’arrière-plan du panneau d’instrument. | |
| TInstrumentBackground | Couleur d’arrière-plan de l’instrument. | |
| TInstrumentButton | Bouton-poussoir d’instrument. | |
| TInstrumentCaption | Légende du panneau d’instrument. | |
| TInstrumentCheckBox | Case à cocher d’instrument. | |
| TInstrumentEdit | Zone de saisie d’instrument. | |
| TInstrumentGauge | Jauge/appareil de mesure d’instrument de type analogique. | |
| TInstrumentGlyphButton | Image graphique du bouton d’accès rapide d’instrument. | |
| TInstrumentGraph | Affichage graphique d’instrument. | |
| TInstrumentKnob | Bouton de commande rotatif d’instrument. | |
| TInstrumentLabel | Étiquette du panneau d’instrument. | |
| TInstrumentLEDDigits | Afficheur numérique à LED à 7 segments. | |
| TInstrumentLEDsPanel | Rangée de voyants LED groupés. | |
| TInstrumentMultiGraph | Affichage graphique à plusieurs courbes. | |
| TInstrumentNumericPanel | Affichage numérique d’instrument. | |
| TInstrumentPanel | Zone du panneau d’instrument. | |
| TInstrumentProgressBar | Indicateur de signal/progression à barre de LED | |
| TInstrumentRadioButton | Bouton radio de sélection d’instrument. | |
| TInstrumentRadioGroup | Contrôle de groupe de boutons radio d’instrument. | |
| TInstrumentScrollbar | Barre de défilement d’instrument. | |
| TInstrumentShape | Forme géométrique du panneau d’instrument. | |
| TInstrumentSilkScreen | Couche de sérigraphie du panneau d’instrument. | |
| TInstrumentTerminal | Fenêtre de terminal d’affichage de caractères d’instrument. | |
| TInstrumentTrackBar | Curseur de réglage d’instrument. |
TSignalLinkManager
TSignalLinkManager hérite de ses méthodes de la classe de base TComponent. La classe TSignalLinkManager fournit les méthodes supplémentaires suivantes :
TSignalLinkManager:
Procedure DoPoll;
Procedure ClearSignalLinks;
Procedure UpdateSignals(AInput, AOutput : LongBool);
TInstrumentBackgroundPanel
TInstrumentBackgroundPanel hérite de ses méthodes de la classe de base TCustomControl. Les classes TXPCustomControl, TXPCustomExtPanel et TCustomInstrumentBackgroundPanel fournissent les méthodes supplémentaires suivantes :
TXPCustomControl:
Procedure UpdateSmoothDraw;
Function GetModified : Boolean;
Procedure ClearModified;
TXPCustomExtPanel:
Function GetDrawingMode : TXPDrawingMode;
Function UseRegion : Boolean;
Function DoCreateRegion : HRGN;
Procedure BeginUpdate;
Procedure EndUpdate;
TCustomInstrumentBackgroundPanel:
Procedure UpdateBackgroundImage;
Procedure UpdateChildControls;
TInstrumentBackground
TInstrumentBackground hérite de ses méthodes de la classe de base TGraphicControl. Les classes TCustomGraphicInstrumentWithBackground et TCustomGraphicInstrumentWithInterior fournissent les méthodes supplémentaires suivantes :
TCustomGraphicInstrumentWithBackground:
Procedure BackgroundOptionsChanged(AChanges : TInstrumentBackgroundOptions);
Procedure MarginChanged;
TCustomGraphicInstrumentWithInterior:
Procedure BackgroundOptionsChanged(AChanges : TInstrumentBackgroundOptions);
Procedure MarginChanged;
Procedure DoPaint(ACanvas : TCanvas; X : Integer = 0; Y : Integer = 0);
Procedure PaintInterior(ACanvas : TCanvas; ARect : TRect);
Function UseCreamBackground : Boolean;
TInstrumentButton
TInstrumentButton hérite de ses méthodes de la classe de base TCustomControl. Les classes TXPCustomControl, TXPCustomTransparentControl, TXPBaseCustomSpeedButton, TXPCustomSpeedButton et TCustomInstrumentButton fournissent les méthodes supplémentaires suivantes :
TXPCustomControl:
Procedure UpdateSmoothDraw;
Function GetModified : Boolean;
Procedure ClearModified;
TXPCustomTransparentControl:
Procedure TransparentChanged;
TXPBaseCustomSpeedButton:
Function GetShiftContentIfPressed : Boolean;
Procedure VCLClick;
Procedure PaintStandard (ARect,ARectDrop : TRect; APushed : Boolean);
Procedure PaintFading (Const ARectDrop : TRect; APushed : Boolean);
Procedure DrawImage (Canvas : TCanvas; Const ARect : TRect; AEnabled : Boolean);
Procedure DrawFadingImage (Canvas : TCanvas; Const ARect : TRect);
Procedure CopyToImage (AlphaImage : TAlphaBitmap);
Procedure RedrawImage (Const ARect : TRect);
Procedure RedrawCaption (Const ARect : TRect; Const ACaption : String; AFontColor : TColor);
Procedure RedrawInside (ARect : TRect; AFontColor : TColor; DoFontFading : Boolean);
Procedure CalculatePositions(Const ARect : TRect; Out TotalSize : TPoint; Out GlyphPos : TPoint; Out TextBounds : TRect);
Function NeedPaintDropdown : Boolean;
Function PushOnClick : Boolean;
Function GetDrawCaptionFlags : TXPDrawCaptionFlags;
Function GetEllipsisPosition : TEllipsisPosition;
Function GetFadingEnabled : Boolean;
Function GetGlyphSize(Out GlyphSize : TSize) : Boolean;
Procedure UpdateExclusive;
Procedure AppearanceChanged(AChange : TAppearanceChange);
Procedure KindChanged;
TXPCustomSpeedButton:
Procedure GlyphChanged (Sender : TObject);
Procedure GetGlyphInfo (Out GlyphToDraw : TGraphic; Out NumGlyphsToDraw : Integer);
Function GetImageState : Integer;
TCustomInstrumentButton:
Function GetCaptionFontColor(ADown, AOn : Boolean) : TColor;
Function GetDrawFlags (ADown, AOn : Boolean) : TDrawInstrumentButtonFlags;
Function GetDrawCaptionStyle(ADown, AOn : Boolean) : TDrawInstrumentButtonCaptionStyle;
Function GetGlowIntensity : TGlowIntensity;
Procedure BackgroundChanged(Sender : TObject);
Procedure UpdateBitmaps;
TInstrumentCaption
TInstrumentCaption hérite de ses méthodes de la classe de base TCustomLabel. La classe TCustomInstrumentLabel fournit la méthode supplémentaire suivante :
TCustomInstrumentLabel:
Procedure DoPaint(ACanvas : TCanvas; Const ARect : TRect);
TInstrumentCheckBox
TInstrumentCheckBox hérite de ses méthodes de la classe de base TGraphicControl. La classe TCustomInstrumentCheckBox fournit la méthode supplémentaire suivante :
TCustomInstrumentCheckBox:
Procedure Changed;
TInstrumentEdit
TInstrumentEdit hérite de ses méthodes de la classe de base TCustomControl. Les classes TXPCustomControl et TCustomXPEdit fournissent les méthodes supplémentaires suivantes :
TXPCustomControl:
Procedure UpdateSmoothDraw;
Function GetModified : Boolean;
Procedure ClearModified;
TCustomXPEdit:
Function CalcInternalHeight : Integer;
Procedure Change;
Procedure ChangeHotFont(IsHot : Boolean);
Procedure Clear;
Procedure ClearSelection;
Procedure ClearUndo;
Procedure CopyToClipboard;
Procedure CreateCaret;
Procedure CutToClipboard;
Procedure DestroyCaret;
Procedure DoEndCapture;
Procedure DrawInside(ARect : TRect; AColor, AFrameColor, AHLTextColor, AHLColor, AFontColor : TColor);
Function GetAutoWidth : Integer;
Function GetCursorPos : TPoint;
Function GetEditDetails : TThemedElementDetails;
Function GetEditorBounds : TRect;
Function GetEditState : TThemedEdit;
Function GetExcludeRect : TRect;
Procedure InsertString(Str : TXPString);
Procedure InternalSetCursor;
Procedure NumberFormatChanged;
Procedure SelectAll;
Procedure SetCaretPos(Value : Integer);
Procedure SetText (Const Value : TCaption);
Procedure SetTransparent(Const Value : Boolean);
Procedure Undo;
TInstrumentGauge
TInstrumentGauge hérite de ses méthodes de la classe de base TGraphicControl. Les classes TCustomGraphicInstrumentWithBackground, TCustomGraphicInstrumentWithNoise et TCustomInstrumentGauge fournissent les méthodes supplémentaires suivantes :
TCustomGraphicInstrumentWithBackground:
Procedure BackgroundOptionsChanged(AChanges : TInstrumentBackgroundOptions);
Procedure MarginChanged;
TCustomGraphicInstrumentWithNoise:
Procedure PaintOnPanel(APanel : TCustomInstrumentBackgroundPanel);
Procedure PaintControlBackground(ABitmap : TBitmap; X, Y : Integer);
Procedure PaintControlForeground(ABitmap : TBitmap; X, Y : Integer);
TCustomInstrumentGauge:
Procedure SetMax(Const Value : TProgressValue);
Procedure SetMin(Const Value : TProgressValue);
Procedure DoGetScaleLabel(AValue : TGaugeValue; Var ALabelString : String);
TInstrumentGlyphButton
TInstrumentGlyphButton hérite de ses méthodes de la classe de base TCustomControl. Les classes TXPCustomControl, TXPCustomTransparentControl, TXPBaseCustomSpeedButton, TXPCustomSpeedButton, TCustomInstrumentButton et TCustomInstrumentGlyphButton fournissent les méthodes supplémentaires suivantes :
TXPCustomControl:
Procedure UpdateSmoothDraw;
Function GetModified : Boolean;
Procedure ClearModified;
TXPCustomTransparentControl:
Procedure TransparentChanged;
TXPBaseCustomSpeedButton:
Function GetShiftContentIfPressed : Boolean;
Procedure VCLClick;
Procedure PaintStandard (ARect,ARectDrop : TRect; APushed : Boolean);
Procedure PaintFading (Const ARectDrop : TRect; APushed : Boolean);
Procedure DrawImage (Canvas : TCanvas; Const ARect : TRect; AEnabled : Boolean);
Procedure DrawFadingImage (Canvas : TCanvas; Const ARect : TRect);
Procedure CopyToImage (AlphaImage : TAlphaBitmap);
Procedure RedrawImage (Const ARect : TRect);
Procedure RedrawCaption (Const ARect : TRect; Const ACaption : String; AFontColor : TColor);
Procedure RedrawInside (ARect : TRect; AFontColor : TColor; DoFontFading : Boolean);
Procedure CalculatePositions(Const ARect : TRect; Out TotalSize : TPoint; Out GlyphPos : TPoint; Out TextBounds : TRect);
Function NeedPaintDropdown : Boolean;
Function PushOnClick : Boolean;
Function GetDrawCaptionFlags : TXPDrawCaptionFlags;
Function GetEllipsisPosition : TEllipsisPosition;
Function GetFadingEnabled : Boolean;
Function GetGlyphSize(Out GlyphSize : TSize) : Boolean;
Procedure UpdateExclusive;
Procedure AppearanceChanged(AChange : TAppearanceChange);
Procedure KindChanged;
TXPCustomSpeedButton:
Procedure GlyphChanged (Sender : TObject);
Procedure GetGlyphInfo (Out GlyphToDraw : TGraphic; Out NumGlyphsToDraw : Integer);
Function GetImageState : Integer;
TCustomInstrumentButton:
Function GetCaptionFontColor(ADown, AOn : Boolean) : TColor;
Function GetDrawFlags (ADown, AOn : Boolean) : TDrawInstrumentButtonFlags;
Function GetDrawCaptionStyle(ADown, AOn : Boolean) : TDrawInstrumentButtonCaptionStyle;
Function GetGlowIntensity : TGlowIntensity;
Procedure BackgroundChanged(Sender : TObject);
Procedure UpdateBitmaps;
TCustomInstrumentGlyphButton:
Procedure LEDChanged;
TInstrumentGraph
TCustomInstrumentGraph hérite de ses méthodes de la classe de base TGraphicControl. Les classes TCustomGraphicInstrumentWithBackground, TCustomGraphicInstrumentWithInterior et TCustomInstrumentGraph fournissent les méthodes supplémentaires suivantes :
TCustomGraphicInstrumentWithBackground:
Procedure BackgroundOptionsChanged(AChanges : TInstrumentBackgroundOptions);
Procedure MarginChanged;
TCustomGraphicInstrumentWithInterior:
Procedure BackgroundOptionsChanged(AChanges : TInstrumentBackgroundOptions);
Procedure MarginChanged;
Procedure DoPaint(ACanvas : TCanvas; X : Integer = 0; Y : Integer = 0);
Procedure PaintInterior(ACanvas : TCanvas; ARect : TRect);
Function UseCreamBackground : Boolean;
TCustomInstrumentGraph:
Procedure SetMax(Const Value : TProgressValue);
Procedure SetMin(Const Value : TProgressValue);
Procedure DoGetValue(Var AValue : TGraphValue; AIndex : Integer);
Procedure BeginSetValues;
Procedure EndSetValues;
TInstrumentKnob
TInstrumentKnohérite de ses méthodes de la classe de base TCustomControl. Les classes TXPCustomControl et TCustomInstrumentSlider fournissent les méthodes supplémentaires suivantes :
TXPCustomControl:
Procedure UpdateSmoothDraw;
Function GetModified : Boolean;
Procedure ClearModified;
TCustomInstrumentSlider:
Procedure SetHandleSize(AValue : TInstrumentSize);
Procedure SetMinValue(AValue : Double);
Procedure SetMaxValue(AValue : Double);
Procedure DrawSlot (ACanvas : TCanvas; xOffset, yOffset : Integer);
Procedure DrawTick (ACanvas : TCanvas; xOffset, yOffset : Integer; ATicks : TInstrumentTicksFloat; ATickValue : Double; AGraphics : Pointer; APen : Pointer;
Procedure DrawNumber (ACanvas : TCanvas; xOffset, yOffset : Integer; ANumberValue : Double; Const ANumberStr : String);
Procedure DrawHandle (ACanvas : TCanvas; xOffset, yOffset : Integer);
Function GetPositionFromMouse(X, Y : Integer) : Double;
Function GetToolTipReferenceRect : TRect;
Procedure DoGetHintText (AValue : Double; Var AHintText : String);
Procedure DoGetScaleLabel(AValue : Double; Side : TInstrumentSide; Var ALabelString : String);
TInstrumentLabel
TInstrumentLabel hérite de ses méthodes de la classe de base TCustomLabel. La classe TCustomInstrumentLabel fournit la méthode supplémentaire suivante :
TInstrumentLabel:
Procedure DoPaint(ACanvas : TCanvas; Const ARect : TRect);
TInstrumentLEDDigits
TInstrumentLEDDigithérite de ses méthodes de la classe de base TGraphicControl. Les classes TCustomGraphicInstrumentWithBackground, TCustomGraphicInstrumentWithInterior,
TCustomInstrumentDigitsPanel et TCustomInstrumentLEDDigits fournissent les méthodes supplémentaires suivantes :
TCustomGraphicInstrumentWithBackground:
Procedure BackgroundOptionsChanged(AChanges : TInstrumentBackgroundOptions);
Procedure MarginChanged;
TCustomGraphicInstrumentWithInterior:
Procedure BackgroundOptionsChanged(AChanges : TInstrumentBackgroundOptions);
Procedure MarginChanged;
Procedure DoPaint(ACanvas : TCanvas; X : Integer = 0; Y : Integer = 0);
Procedure PaintInterior(ACanvas : TCanvas; ARect : TRect);
Function UseCreamBackground : Boolean;
TCustomInstrumentDigitsPanel:
Procedure SetDigits (Const AValue : NaturalNumber);
Procedure SetDigitsInGroup(Const AValue : NaturalNumber);
Procedure SetNumberType (Const AValue : TNumberType);
Procedure SetPrecision (Const AValue : TPrecision);
Procedure SetRadix (Const AValue : TRadix);
Procedure DigitClick (ADigitIndex : Integer; AButton : TMouseButton);
Function GetDigitWidth : Integer;
Function GetDigitHeight : Integer;
Procedure PaintDigits (ACanvas : TCanvas; ARect : TRect);
Procedure PaintDigit (ACanvas : TCanvas; ARect : TRect; AValue : Byte);
Procedure ValueChanged;
TCustomInstrumentLEDDigits:
Procedure SetMax(Const Value : TProgressValue);
Procedure SetMin(Const Value : TProgressValue);
TInstrumentLEDsPanel
TInstrumentLEDsPanel hérite de ses méthodes de la classe de base TGraphicControl. Les classes TCustomGraphicInstrumentWithBackground, TCustomGraphicInstrumentWithInterior,
TCustomInstrumentDigitsPanel et TCustomInstrumentLEDsPanel fournissent les méthodes supplémentaires suivantes :
TCustomGraphicInstrumentWithBackground:
Procedure BackgroundOptionsChanged(AChanges : TInstrumentBackgroundOptions);
Procedure MarginChanged;
TCustomGraphicInstrumentWithInterior:
Procedure BackgroundOptionsChanged(AChanges : TInstrumentBackgroundOptions);
Procedure MarginChanged;
Procedure DoPaint(ACanvas : TCanvas; X : Integer = 0; Y : Integer = 0);
Procedure PaintInterior(ACanvas : TCanvas; ARect : TRect);
Function UseCreamBackground : Boolean;
TCustomInstrumentDigitsPanel:
Procedure SetDigits (Const AValue : NaturalNumber);
Procedure SetDigitsInGroup(Const AValue : NaturalNumber);
Procedure SetNumberType (Const AValue : TNumberType);
Procedure SetPrecision (Const AValue : TPrecision);
Procedure SetRadix (Const AValue : TRadix);
Procedure DigitClick (ADigitIndex : Integer; AButton : TMouseButton);
Function GetDigitWidth : Integer;
Function GetDigitHeight : Integer;
Procedure PaintDigits (ACanvas : TCanvas; ARect : TRect);
Procedure PaintDigit (ACanvas : TCanvas; ARect : TRect; AValue : Byte);
Procedure ValueChanged;
TCustomInstrumentLEDsPanel:
Procedure SetMaxValue(Const AValue : LongWord);
Procedure SetMinValue(Const AValue : LongWord);
TInstrumentMultiGraph
TInstrumentMultiGraph hérite de ses méthodes de la classe de base TGraphicControl. Les classes TCustomGraphicInstrumentWithBackground, TCustomGraphicInstrumentWithInterior et TCustomInstrumentGraph fournissent les méthodes supplémentaires suivantes :
TCustomGraphicInstrumentWithBackground:
Procedure BackgroundOptionsChanged(AChanges : TInstrumentBackgroundOptions);
Procedure MarginChanged;
TCustomGraphicInstrumentWithInterior:
Procedure BackgroundOptionsChanged(AChanges : TInstrumentBackgroundOptions);
Procedure MarginChanged;
Procedure DoPaint(ACanvas : TCanvas; X : Integer = 0; Y : Integer = 0);
Procedure PaintInterior(ACanvas : TCanvas; ARect : TRect);
Function UseCreamBackground : Boolean;
TCustomInstrumentGraph:
Procedure SetMax(Const Value : TProgressValue);
Procedure SetMin(Const Value : TProgressValue);
Procedure DoGetValue(Var AValue : TGraphValue; AIndex : Integer);
Procedure BeginSetValues;
Procedure EndSetValues;
TInstrumentNumericPanel
TInstrumentNumericPanel hérite de ses méthodes de la classe de base TGraphicControl. Les classes TCustomGraphicInstrumentWithBackground, TCustomGraphicInstrumentWithInterior,
TCustomInstrumentDigitsPanel et TCustomInstrumentNumericPanel fournissent les méthodes supplémentaires suivantes :
TCustomGraphicInstrumentWithBackground:
Procedure BackgroundOptionsChanged(AChanges : TInstrumentBackgroundOptions);
Procedure MarginChanged;
TCustomGraphicInstrumentWithInterior:
Procedure BackgroundOptionsChanged(AChanges : TInstrumentBackgroundOptions);
Procedure MarginChanged;
Procedure DoPaint(ACanvas : TCanvas; X : Integer = 0; Y : Integer = 0);
Procedure PaintInterior(ACanvas : TCanvas; ARect : TRect);
Function UseCreamBackground : Boolean;
TCustomInstrumentDigitsPanel:
Procedure SetDigits (Const AValue : NaturalNumber);
Procedure SetDigitsInGroup(Const AValue : NaturalNumber);
Procedure SetNumberType (Const AValue : TNumberType);
Procedure SetPrecision (Const AValue : TPrecision);
Procedure SetRadix (Const AValue : TRadix);
Procedure DigitClick (ADigitIndex : Integer; AButton : TMouseButton);
Function GetDigitWidth : Integer;
Function GetDigitHeight : Integer;
Procedure PaintDigits (ACanvas : TCanvas; ARect : TRect);
Procedure PaintDigit (ACanvas : TCanvas; ARect : TRect; AValue : Byte);
Procedure ValueChanged;
TCustomInstrumentNumericPanel:
Procedure SetMaxValue(Const AValue : TNumericValue);
Procedure SetMinValue(Const AValue : TNumericValue);
TInstrumentPanel
TInstrumentPanel hérite de ses méthodes de la classe de base TCustomControl. Les classes TXPCustomControl et TCustomInstrumentPanel fournissent les méthodes supplémentaires suivantes :
TXPCustomControl:
Procedure UpdateSmoothDraw;
Function GetModified : Boolean;
Procedure ClearModified;
TCustomInstrumentPanel:
Procedure PaintOnPanel(APanel : TCustomInstrumentBackgroundPanel);
TInstrumentProgressBar
TInstrumentProgressBar hérite de ses méthodes de la classe de base TGraphicControl. Les classes TCustomGraphicInstrumentWithBackground, TCustomGraphicInstrumentWithNoise et TCustomInstrumentProgressBar fournissent les méthodes supplémentaires suivantes :
TCustomGraphicInstrumentWithBackground:
Procedure BackgroundOptionsChanged(AChanges : TInstrumentBackgroundOptions);
Procedure MarginChanged;
TCustomGraphicInstrumentWithNoise:
Procedure PaintOnPanel(APanel : TCustomInstrumentBackgroundPanel);
Procedure PaintControlBackground(ABitmap : TBitmap; X, Y : Integer);
Procedure PaintControlForeground(ABitmap : TBitmap; X, Y : Integer);
TCustomInstrumentProgressBar:
Procedure SetMax(Const Value : TProgressValue);
Procedure SetMin(Const Value : TProgressValue);
TInstrumentRadioButton
TInstrumentRadioButton hérite des méthodes de la classe de base TGraphicControl. Les classes TCustomInstrumentCheckBox et TCustomInstrumentRadioButton fournissent les méthodes supplémentaires suivantes :
TCustomInstrumentCheckBox:
Procedure Changed;
TCustomInstrumentRadioButton:
Procedure TurnSiblingsOff;
TInstrumentRadioGroup
TInstrumentRadioGroup hérite des méthodes de la classe de base TCustomControl. Les classes TXPCustomControl et TCustomInstrumentPanel fournissent les méthodes supplémentaires suivantes :
TXPCustomControl:
Procedure UpdateSmoothDraw;
Function GetModified : Boolean;
Procedure ClearModified;
TCustomInstrumentPanel:
Procedure PaintOnPanel(APanel : TCustomInstrumentBackgroundPanel);
TInstrumentScrollbar
TInstrumentScrollbar hérite des méthodes de la classe de base TCustomControl. Les classes TXPCustomControl, TCustomXPScrollBar et TCustomInstrumentScrollBar fournissent les méthodes supplémentaires suivantes :
TXPCustomControl:
Procedure UpdateSmoothDraw;
Function GetModified : Boolean;
Procedure ClearModified;
TCustomXPScrollBar:
Procedure Change;
Procedure Scroll(ScrollCode : TScrollCode; Var ScrollPos : Integer);
Function IgnoreThemePainting : Boolean;
Procedure DrawShaft (Const ARect : TRect; AState : Integer);
Procedure DrawArrowBtn(Const ARect : TRect; AState : Integer; AOffset : Integer; AIsUp : Boolean);
Procedure DrawThumb (Const ARect : TRect; AState : Integer);
Procedure SetParams (APosition, AMin, AMax : Integer);
TCustomInstrumentScrollBar:
Procedure SetBounds(ALeft, ATop, AWidth, AHeight : Integer);
TInstrumentShape
TInstrumentShape hérite des méthodes de la classe de composant de base TShape.
TInstrumentSilkScreen
TInstrumentSilkScree hérite des méthodes de la classe de base TCustomControl. La classe TXPCustomControl fournit les méthodes supplémentaires suivantes :
TXPCustomControl:
Procedure UpdateSmoothDraw;
Function GetModified : Boolean;
Procedure ClearModified;
TInstrumentTerminal
TInstrumentTerminal hérite des méthodes de la classe de base TCustomControl. Les classes TXPCustomControl, TCustomInstrumentPanel et TCustomInstrumentTerminal fournissent les méthodes supplémentaires suivantes :
TXPCustomControl:
Procedure UpdateSmoothDraw;
Function GetModified : Boolean;
Procedure ClearModified;
TCustomInstrumentPanel:
Procedure PaintOnPanel(APanel : TCustomInstrumentBackgroundPanel);
TCustomInstrumentTerminal:
Procedure DoTransmitChar(AChar : Char);
Procedure PutChar(AChar : Char ; ATransmit : Boolean);
Procedure PutString(Const AString : String; ATransmit : Boolean);
Procedure Clear;
Procedure GetLines(ALines : TStrings);
TInstrumentTrackBar
TInstrumentTrackBar hérite des méthodes de la classe de base TCustomControl. Les classes TXPCustomControl et TCustomInstrumentSlider fournissent les méthodes supplémentaires suivantes :
TXPCustomControl:
Procedure UpdateSmoothDraw;
Function GetModified : Boolean;
Procedure ClearModified;
TCustomInstrumentSlider:
Procedure SetHandleSize(AValue : TInstrumentSize);
Procedure SetMinValue(AValue : Double);
Procedure SetMaxValue(AValue : Double);
Procedure DrawSlot (ACanvas : TCanvas; xOffset, yOffset : Integer);
Procedure DrawTick (ACanvas : TCanvas; xOffset, yOffset : Integer; ATicks : TInstrumentTicksFloat; ATickValue : Double; AGraphics : Pointer; APen : Pointer;
Procedure DrawNumber (ACanvas : TCanvas; xOffset, yOffset : Integer; ANumberValue : Double; Const ANumberStr : String);
Procedure DrawHandle (ACanvas : TCanvas; xOffset, yOffset : Integer);
Function GetPositionFromMouse(X, Y : Integer) : Double;
Function GetToolTipReferenceRect : TRect;
Procedure DoGetHintText (AValue : Double; Var AHintText : String);
Procedure DoGetScaleLabel(AValue : Double; Side : TInstrumentSide; Var ALabelString : String)
