Instrument Controls
Die Registerkarte Tool Palette's Instrument Controls enthält Komponenten (Steuerelemente), die zum Entwurf einer GUI für ein Custom Instrument-Panel in Altium Designer verwendet werden. Diese Steuerelemente sind speziell für die Verwendung mit dem Custom Instrument vorgesehen.
► Siehe Custom Instrument GUI - Verfügbare Instrumenten-Steuerelemente für eine funktionale Beschreibung jedes Instrumenten-Steuerelements.
Um die zugehörigen Eigenschaften und Ereignisse für eine auf einem Skriptformular platzierte Instrument-Control-Komponente anzuzeigen, verwenden Sie die Registerkarte Properties oder Events im Bereich Object Inspector (View » Panels » Object Inspector).
Um eine bestimmte Methode (oder Eigenschaft) für ein Instrumenten-Steuerelement zu finden, verwenden Sie die Funktion Code Completion (siehe Script Editor Tools). Wenn Sie beispielsweise TInstrumentCheckBox.get eingeben, zeigt das Fenster für Code Completion eine passend gefilterte Liste von Methoden und Eigenschaften für die Komponente TInstrumentCheckBox an. Verwenden Sie Ctrl+Space, um das Fenster für Code Completion manuell aufzurufen.

Verwenden Sie die Funktion Code Completion (Ctrl+Space), um die verfügbaren Methoden oder Eigenschaften für eine Komponente anzuzeigen.
Vererbung
Die Mehrheit der Instrument-Control-Klassen erbt ihre Methoden (sowie Eigenschaften und Ereignisse) von den Delphi-VCL-Basisklassen TGraphicControl oder TCustomControl. Daher gelten die hier behandelten Methoden der Instrument Controls zusätzlich zu einer dieser Basisklassen, wie in jedem Referenzeintrag angegeben.
Als Beispiel sieht die absteigende Vererbung für das Steuerelement TInstrumentCheckBox wie folgt aus:
| Vererbungspfad | Methoden |
|---|---|
TGraphicControl |
Siehe die entsprechende Delphi-Referenz. |
TCustomInstrumentCheckBox |
Siehe den Eintrag TXPCheckBox unten. |
TInstrumentCheckBox |
Siehe den Eintrag TXPCheckBox unten. |
Komponentenmethoden
Die Altium Instrument Control-Komponenten basieren auf Kernklassen der Embarcadero Visual Component Library (VCL). Jedes Instrument Control erbt die Methoden, Eigenschaften und Ereignisse seiner VCL-Quelle, und die meisten bieten zusätzliche benutzerdefinierte Methoden. So bieten beispielsweise sowohl die Komponente TInstrumentCheckBox als auch die Standardkomponente TCheckBox die Methode Click, während die Komponente TInstrumentCheckBox zusätzlich die Methode Changed bereitstellt.
Verwenden Sie die folgende Liste, um zu Informationen über die für jede Komponente in der Kategorie Instrument Controls verfügbaren Methoden zu navigieren:
![]() |
TSignalLinkManager | Manager für die Verknüpfung von Instrumentensignalen. |
| TInstrumentBackgroundPanel | Hintergrundfarbe des Instrumentenpanels. | |
| TInstrumentBackground | Hintergrundfarbe des Instruments. | |
| TInstrumentButton | Drucktaste des Instruments. | |
| TInstrumentCaption | Beschriftung des Instrumentenpanels. | |
| TInstrumentCheckBox | Kontrollkästchen des Instruments. | |
| TInstrumentEdit | Bearbeitungsfeld des Instruments. | |
| TInstrumentGauge | Instrumentenanzeige/Messgerät im Analogstil. | |
| TInstrumentGlyphButton | Grafikbild der Instrumenten-Schnelltaste. | |
| TInstrumentGraph | Grafikanzeige des Instruments. | |
| TInstrumentKnob | Drehregler des Instruments. | |
| TInstrumentLabel | Beschriftung des Instrumentenpanels. | |
| TInstrumentLEDDigits | 7-Segment-Digital-LED-Anzeige. | |
| TInstrumentLEDsPanel | Gruppierte LED-Indikatorreihe. | |
| TInstrumentMultiGraph | Grafikanzeige mit mehreren Kurven. | |
| TInstrumentNumericPanel | Numerische Anzeige des Instruments. | |
| TInstrumentPanel | Bereich des Instrumentenpanels. | |
| TInstrumentProgressBar | LED-Balken-Signal-/Fortschrittsanzeige | |
| TInstrumentRadioButton | Optionsschalter-Auswahl des Instruments. | |
| TInstrumentRadioGroup | Gruppen-Steuerelement für Optionsschalter des Instruments. | |
| TInstrumentScrollbar | Bildlaufleisten-Steuerelement des Instruments. | |
| TInstrumentShape | Geometrische Form des Instrumentenpanels. | |
| TInstrumentSilkScreen | Siebdruck-Overlay des Instrumentenpanels. | |
| TInstrumentTerminal | Terminalfenster zur Zeichendarstellung des Instruments. | |
| TInstrumentTrackBar | Schieberegler-Steuerelement des Instruments. |
TSignalLinkManager
TSignalLinkManager erbt seine Methoden von der Basisklasse TComponent. Die Klasse TSignalLinkManager stellt die folgenden zusätzlichen Methoden bereit:
TSignalLinkManager:
Procedure DoPoll;
Procedure ClearSignalLinks;
Procedure UpdateSignals(AInput, AOutput : LongBool);
TInstrumentBackgroundPanel
TInstrumentBackgroundPanel erbt seine Methoden von der Basisklasse TCustomControl. Die Klassen TXPCustomControl, TXPCustomExtPanel und TCustomInstrumentBackgroundPanel stellen die folgenden zusätzlichen Methoden bereit:
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 erbt seine Methoden von der Basisklasse TGraphicControl. Die Klassen TCustomGraphicInstrumentWithBackground und TCustomGraphicInstrumentWithInterior stellen die folgenden zusätzlichen Methoden bereit:
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 erbt seine Methoden von der Basisklasse TCustomControl. Die Klassen TXPCustomControl, TXPCustomTransparentControl, TXPBaseCustomSpeedButton, TXPCustomSpeedButton und TCustomInstrumentButton stellen die folgenden zusätzlichen Methoden bereit:
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 erbt seine Methoden von der Basisklasse TCustomLabel. Die Klasse TCustomInstrumentLabel stellt die folgende zusätzliche Methode bereit:
TCustomInstrumentLabel:
Procedure DoPaint(ACanvas : TCanvas; Const ARect : TRect);
TInstrumentCheckBox
TInstrumentCheckBox erbt seine Methoden von der Basisklasse TGraphicControl. Die Klasse TCustomInstrumentCheckBox stellt die folgende zusätzliche Methode bereit:
TCustomInstrumentCheckBox:
Procedure Changed;
TInstrumentEdit
TInstrumentEdit erbt seine Methoden von der Basisklasse TCustomControl. Die Klassen TXPCustomControl und TCustomXPEdit stellen die folgenden zusätzlichen Methoden bereit:
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 erbt seine Methoden von der Basisklasse TGraphicControl. Die Klassen TCustomGraphicInstrumentWithBackground, TCustomGraphicInstrumentWithNoise und TCustomInstrumentGauge stellen die folgenden zusätzlichen Methoden bereit:
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 erbt seine Methoden von der Basisklasse TCustomControl. Die Klassen TXPCustomControl, TXPCustomTransparentControl, TXPBaseCustomSpeedButton, TXPCustomSpeedButton, TCustomInstrumentButton und TCustomInstrumentGlyphButton stellen die folgenden zusätzlichen Methoden bereit:
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 erbt seine Methoden von der Basisklasse TGraphicControl. Die Klassen TCustomGraphicInstrumentWithBackground, TCustomGraphicInstrumentWithInterior und TCustomInstrumentGraph stellen die folgenden zusätzlichen Methoden bereit:
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
TInstrumentKnob erbt seine Methoden von der Basisklasse TCustomControl. Die Klassen TXPCustomControl und TCustomInstrumentSlider stellen die folgenden zusätzlichen Methoden bereit:
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 erbt seine Methoden von der Basisklasse TCustomLabel. Die Klasse TCustomInstrumentLabel stellt die folgende zusätzliche Methode bereit:
TInstrumentLabel:
Procedure DoPaint(ACanvas : TCanvas; Const ARect : TRect);
TInstrumentLEDDigits
TInstrumentLEDDigits erbt seine Methoden von der Basisklasse TGraphicControl. Die Klassen TCustomGraphicInstrumentWithBackground, TCustomGraphicInstrumentWithInterior,
TCustomInstrumentDigitsPanel und TCustomInstrumentLEDDigits stellen die folgenden zusätzlichen Methoden bereit:
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 erbt seine Methoden von der Basisklasse TGraphicControl. Die Klassen TCustomGraphicInstrumentWithBackground, TCustomGraphicInstrumentWithInterior,
TCustomInstrumentDigitsPanel und TCustomInstrumentLEDsPanel stellen die folgenden zusätzlichen Methoden bereit:
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 erbt seine Methoden von der Basisklasse TGraphicControl. Die Klassen TCustomGraphicInstrumentWithBackground, TCustomGraphicInstrumentWithInterior und TCustomInstrumentGraph stellen die folgenden zusätzlichen Methoden bereit:
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 erbt seine Methoden von der Basisklasse TGraphicControl. Die Klassen TCustomGraphicInstrumentWithBackground, TCustomGraphicInstrumentWithInterior,
TCustomInstrumentDigitsPanel und TCustomInstrumentNumericPanel stellen die folgenden zusätzlichen Methoden bereit:
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 erbt seine Methoden von der Basisklasse TCustomControl. Die Klassen TXPCustomControl und TCustomInstrumentPanel stellen die folgenden zusätzlichen Methoden bereit:
TXPCustomControl:
Procedure UpdateSmoothDraw;
Function GetModified : Boolean;
Procedure ClearModified;
TCustomInstrumentPanel:
Procedure PaintOnPanel(APanel : TCustomInstrumentBackgroundPanel);
TInstrumentProgressBar
TInstrumentProgressBar erbt seine Methoden von der Basisklasse TGraphicControl. Die Klassen TCustomGraphicInstrumentWithBackground, TCustomGraphicInstrumentWithNoise und TCustomInstrumentProgressBar stellen die folgenden zusätzlichen Methoden bereit:
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 erbt seine Methoden von der Basisklasse TGraphicControl. Die Klassen TCustomInstrumentCheckBox und TCustomInstrumentRadioButton stellen die folgenden zusätzlichen Methoden bereit:
TCustomInstrumentCheckBox:
Procedure Changed;
TCustomInstrumentRadioButton:
Procedure TurnSiblingsOff;
TInstrumentRadioGroup
TInstrumentRadioGroup erbt seine Methoden von der Basisklasse TCustomControl. Die Klassen TXPCustomControl und TCustomInstrumentPanel stellen die folgenden zusätzlichen Methoden bereit:
TXPCustomControl:
Procedure UpdateSmoothDraw;
Function GetModified : Boolean;
Procedure ClearModified;
TCustomInstrumentPanel:
Procedure PaintOnPanel(APanel : TCustomInstrumentBackgroundPanel);
TInstrumentScrollbar
TInstrumentScrollbar erbt seine Methoden von der Basisklasse TCustomControl. Die Klassen TXPCustomControl, TCustomXPScrollBar und TCustomInstrumentScrollBar stellen die folgenden zusätzlichen Methoden bereit:
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 erbt seine Methoden von der Basis-Komponentenklasse TShape.
TInstrumentSilkScreen
TInstrumentSilkScreen erbt seine Methoden von der Basisklasse TCustomControl. Die Klasse TXPCustomControl stellt die folgenden zusätzlichen Methoden bereit:
TXPCustomControl:
Procedure UpdateSmoothDraw;
Function GetModified : Boolean;
Procedure ClearModified;
TInstrumentTerminal
TInstrumentTerminal erbt seine Methoden von der Basisklasse TCustomControl. Die Klassen TXPCustomControl, TCustomInstrumentPanel und TCustomInstrumentTerminal stellen die folgenden zusätzlichen Methoden bereit:
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 erbt seine Methoden von der Basisklasse TCustomControl. Die Klassen TXPCustomControl und TCustomInstrumentSlider stellen die folgenden zusätzlichen Methoden bereit:
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)
