Instrument Controls
W skrócie
- Znajduj właściwości i zdarzenia kontrolek w panelu Object Inspector oraz odkrywaj dostępne metody za pomocą skrótu Ctrl+Spacja.
- Dowiedz się, które metody kontrolki dziedziczą z klas VCL, a jakie dodatkowe metody udostępniają.
- Przeglądaj dokumentację metod poszczególnych komponentów, pamiętając o ograniczeniu dotyczącym obsługi FPGA.
Karta Tool Palette's Instrument Controls zawiera komponenty (kontrolki) służące do projektowania interfejsu graficznego panelu przyrządu niestandardowego w Altium Designer. Kontrolki te są przeznaczone specjalnie do użytku z przyrządem niestandardowym.
► Opis działania poszczególnych kontrolek przyrządów można znaleźć w sekcji Interfejs graficzny przyrządu niestandardowego — dostępne kontrolki przyrządów.
Aby wyświetlić właściwości i zdarzenia powiązane z komponentem kontrolki przyrządu umieszczonym na formularzu skryptu, użyj karty Properties lub Events w panelu Object Inspector (View » Panels » Object Inspector).
Aby znaleźć konkretną metodę (lub właściwość) kontrolki przyrządu, użyj funkcji uzupełniania kodu (patrz Narzędzia edytora skryptów). Na przykład po wpisaniu TInstrumentCheckBox.get okno uzupełniania kodu wyświetli odpowiednio przefiltrowaną listę metod i właściwości komponentu TInstrumentCheckBox . Użyj Ctrl+Space, aby ręcznie wywołać okno uzupełniania kodu.

Użyj funkcji uzupełniania kodu (Ctrl+Space), aby zobaczyć dostępne metody lub właściwości komponentu.
Dziedziczenie
Większość klas kontrolek przyrządów dziedziczy swoje metody (oraz właściwości i zdarzenia) po klasach bazowych TGraphicControl lub TCustomControl biblioteki Delphi VCL. Dlatego opisane tutaj metody kontrolek przyrządów stanowią uzupełnienie metod jednej z tych klas bazowych, zgodnie z informacją podaną w opisie każdej pozycji.
Przykładowo hierarchia dziedziczenia dla kontrolki TInstrumentCheckBox wygląda następująco:
| Ścieżka dziedziczenia | Metody |
|---|---|
TGraphicControl |
Patrz odpowiednia dokumentacja Delphi. |
TCustomInstrumentCheckBox |
Patrz opis TXPCheckBox poniżej. |
TInstrumentCheckBox |
Patrz opis TXPCheckBox poniżej. |
Metody komponentów
Komponenty kontrolek przyrządów Altium są oparte na podstawowych klasach z biblioteki Embarcadero Visual Component Library (VCL). Każda kontrolka przyrządu dziedziczy metody, właściwości i zdarzenia po swojej klasie źródłowej VCL, a większość udostępnia dodatkowe metody niestandardowe. Na przykład zarówno komponent TInstrumentCheckBox, jak i standardowy komponent TCheckBox udostępniają metodę Click, natomiast komponent TInstrumentCheckBox udostępnia również metodę Changed.
Użyj poniższej listy, aby przejść do informacji o metodach dostępnych dla poszczególnych komponentów w kategorii kontrolek przyrządów:
![]() |
TSignalLinkManager | Menedżer powiązań sygnałów przyrządu. |
| TInstrumentBackgroundPanel | Kolor tła panelu przyrządu. | |
| TInstrumentBackground | Kolor tła przyrządu. | |
| TInstrumentButton | Przycisk przyrządu. | |
| TInstrumentCaption | Podpis panelu przyrządu. | |
| TInstrumentCheckBox | Pole wyboru przyrządu. | |
| TInstrumentEdit | Pole edycyjne przyrządu. | |
| TInstrumentGauge | Wskaźnik/miernik przyrządu w stylu analogowym. | |
| TInstrumentGlyphButton | Obraz graficzny przycisku szybkiego dostępu przyrządu. | |
| TInstrumentGraph | Wyświetlacz wykresu przyrządu. | |
| TInstrumentKnob | Pokrętło sterujące przyrządu. | |
| TInstrumentLabel | Etykieta panelu przyrządu. | |
| TInstrumentLEDDigits | 7-segmentowy cyfrowy wyświetlacz LED. | |
| TInstrumentLEDsPanel | Rząd zgrupowanych wskaźników LED. | |
| TInstrumentMultiGraph | Wyświetlacz wykresu z wieloma przebiegami. | |
| TInstrumentNumericPanel | Odczyt numeryczny przyrządu. | |
| TInstrumentPanel | Obszar panelu przyrządu. | |
| TInstrumentProgressBar | Wskaźnik sygnału/postępu w postaci paska LED | |
| TInstrumentRadioButton | Przycisk opcji przyrządu. | |
| TInstrumentRadioGroup | Kontrolka grupująca przyciski opcji przyrządu. | |
| TInstrumentScrollbar | Pasek przewijania przyrządu. | |
| TInstrumentShape | Kształt geometryczny panelu przyrządu. | |
| TInstrumentSilkScreen | Warstwa nadruku panelu przyrządu. | |
| TInstrumentTerminal | Okno terminala znakowego przyrządu. | |
| TInstrumentTrackBar | Suwak przyrządu. |
TSignalLinkManager
TSignalLinkManager dziedziczy swoje metody po klasie bazowej TComponent. Klasa TSignalLinkManager udostępnia następujące dodatkowe metody:
TSignalLinkManager:
Procedure DoPoll;
Procedure ClearSignalLinks;
Procedure UpdateSignals(AInput, AOutput : LongBool);
TInstrumentBackgroundPanel
TInstrumentBackgroundPanel dziedziczy swoje metody po klasie bazowej TCustomControl. Klasy TXPCustomControl, TXPCustomExtPanel i TCustomInstrumentBackgroundPanel udostępniają następujące dodatkowe metody:
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 dziedziczy swoje metody po klasie bazowej TGraphicControl. Klasy TCustomGraphicInstrumentWithBackground i TCustomGraphicInstrumentWithInterior udostępniają następujące dodatkowe metody:
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 dziedziczy swoje metody po klasie bazowej TCustomControl. Klasy TXPCustomControl, TXPCustomTransparentControl, TXPBaseCustomSpeedButton, TXPCustomSpeedButton i TCustomInstrumentButton udostępniają następujące dodatkowe metody:
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 dziedziczy swoje metody po klasie bazowej TCustomLabel. Klasa TCustomInstrumentLabel udostępnia następującą dodatkową metodę:
TCustomInstrumentLabel:
Procedure DoPaint(ACanvas : TCanvas; Const ARect : TRect);
TInstrumentCheckBox
TInstrumentCheckBox dziedziczy swoje metody po klasie bazowej TGraphicControl. Klasa TCustomInstrumentCheckBox udostępnia następującą dodatkową metodę:
TCustomInstrumentCheckBox:
Procedure Changed;
TInstrumentEdit
TInstrumentEdit dziedziczy swoje metody po klasie bazowej TCustomControl. Klasy TXPCustomControl i TCustomXPEdit udostępniają następujące dodatkowe metody:
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 dziedziczy swoje metody po klasie bazowej TGraphicControl. Klasy TCustomGraphicInstrumentWithBackground, TCustomGraphicInstrumentWithNoise i TCustomInstrumentGauge udostępniają następujące dodatkowe metody:
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 dziedziczy swoje metody po klasie bazowej TCustomControl. Klasy TXPCustomControl, TXPCustomTransparentControl, TXPBaseCustomSpeedButton, TXPCustomSpeedButton, TCustomInstrumentButton i TCustomInstrumentGlyphButton udostępniają następujące dodatkowe metody:
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 dziedziczy swoje metody po klasie bazowej TGraphicControl. Klasy TCustomGraphicInstrumentWithBackground, TCustomGraphicInstrumentWithInterior i TCustomInstrumentGraph udostępniają następujące dodatkowe metody:
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
TInstrumentKnodziedziczy swoje metody po klasie bazowej TCustomControl. Klasy TXPCustomControl i TCustomInstrumentSlider udostępniają następujące dodatkowe metody:
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 dziedziczy swoje metody po klasie bazowej TCustomLabel. Klasa TCustomInstrumentLabel udostępnia następującą dodatkową metodę:
TInstrumentLabel:
Procedure DoPaint(ACanvas : TCanvas; Const ARect : TRect);
TInstrumentLEDDigits
TInstrumentLEDDigitdziedziczy swoje metody po klasie bazowej TGraphicControl. Klasy TCustomGraphicInstrumentWithBackground, TCustomGraphicInstrumentWithInterior,
TCustomInstrumentDigitsPanel i TCustomInstrumentLEDDigits udostępniają następujące dodatkowe metody:
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 dziedziczy swoje metody po klasie bazowej TGraphicControl. Klasy TCustomGraphicInstrumentWithBackground, TCustomGraphicInstrumentWithInterior,
TCustomInstrumentDigitsPanel i TCustomInstrumentLEDsPanel udostępniają następujące dodatkowe metody:
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 dziedziczy swoje metody po klasie bazowej TGraphicControl. Klasy TCustomGraphicInstrumentWithBackground, TCustomGraphicInstrumentWithInterior i TCustomInstrumentGraph udostępniają następujące dodatkowe metody:
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 dziedziczy swoje metody po klasie bazowej TGraphicControl. Klasy TCustomGraphicInstrumentWithBackground, TCustomGraphicInstrumentWithInterior,
TCustomInstrumentDigitsPanel i TCustomInstrumentNumericPanel udostępniają następujące dodatkowe metody:
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 dziedziczy swoje metody po klasie bazowej TCustomControl. Klasy TXPCustomControl i TCustomInstrumentPanel udostępniają następujące dodatkowe metody:
TXPCustomControl:
Procedure UpdateSmoothDraw;
Function GetModified : Boolean;
Procedure ClearModified;
TCustomInstrumentPanel:
Procedure PaintOnPanel(APanel : TCustomInstrumentBackgroundPanel);
TInstrumentProgressBar
TInstrumentProgressBar dziedziczy swoje metody po klasie bazowej TGraphicControl. Klasy TCustomGraphicInstrumentWithBackground, TCustomGraphicInstrumentWithNoise i TCustomInstrumentProgressBar udostępniają następujące dodatkowe metody:
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 dziedziczy metody po klasie bazowej TGraphicControl. Klasy TCustomInstrumentCheckBox i TCustomInstrumentRadioButton udostępniają następujące dodatkowe metody:
TCustomInstrumentCheckBox:
Procedure Changed;
TCustomInstrumentRadioButton:
Procedure TurnSiblingsOff;
TInstrumentRadioGroup
TInstrumentRadioGroup dziedziczy metody po klasie bazowej TCustomControl. Klasy TXPCustomControl i TCustomInstrumentPanel udostępniają następujące dodatkowe metody:
TXPCustomControl:
Procedure UpdateSmoothDraw;
Function GetModified : Boolean;
Procedure ClearModified;
TCustomInstrumentPanel:
Procedure PaintOnPanel(APanel : TCustomInstrumentBackgroundPanel);
TInstrumentScrollbar
TInstrumentScrollbar dziedziczy metody po klasie bazowej TCustomControl. Klasy TXPCustomControl, TCustomXPScrollBar i TCustomInstrumentScrollBar udostępniają następujące dodatkowe metody:
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 dziedziczy metody po bazowej klasie komponentu TShape.
TInstrumentSilkScreen
TInstrumentSilkScree dziedziczy metody po klasie bazowej TCustomControl. Klasa TXPCustomControl udostępnia następujące dodatkowe metody:
TXPCustomControl:
Procedure UpdateSmoothDraw;
Function GetModified : Boolean;
Procedure ClearModified;
TInstrumentTerminal
TInstrumentTerminal dziedziczy metody po klasie bazowej TCustomControl. Klasy TXPCustomControl, TCustomInstrumentPanel i TCustomInstrumentTerminal udostępniają następujące dodatkowe metody:
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 dziedziczy metody po klasie bazowej TCustomControl. Klasy TXPCustomControl i TCustomInstrumentSlider udostępniają następujące dodatkowe metody:
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)
