계측기 제어
개요
- Object Inspector Panel에서 컨트롤 속성과 이벤트를 확인하고, Ctrl+Space로 메서드를 찾아보세요.
- 컨트롤이 VCL 클래스에서 상속하는 메서드와 추가로 제공하는 메서드를 파악해 보세요.
- FPGA 지원 제한 사항을 염두에 두고 컴포넌트별 메서드 참조 정보를 살펴보세요.
Tool Palette's Instrument Controls 탭에는 Altium Designer Custom 계측기 패널 GUI를 설계하는 데 사용되는 컴포넌트(컨트롤)가 포함되어 있습니다. 이 컨트롤은 Custom 계측기 전용입니다.
► 각 계측기 컨트롤의 기능 설명은 Custom 계측기 GUI - 사용 가능한 계측기 컨트롤을 참조하십시오.
스크립트 폼에 배치된 계측기 컨트롤 컴포넌트의 속성 및 이벤트를 보려면 Object Inspector 패널(View » Panels » Object Inspector)에서 Properties 또는 Events 탭을 사용하십시오.
계측기 컨트롤의 특정 메서드(또는 속성)를 찾으려면 코드 완성 기능을 사용하십시오(스크립트 Editor 도구 참조). 예를 들어 TInstrumentCheckBox.get을 입력하면 코드 완성 창에 TInstrumentCheckBox 컴포넌트의 메서드와 속성이 적절히 필터링된 목록으로 표시됩니다. 코드 완성 창을 수동으로 열려면 Ctrl+Space을 사용하십시오.

컴포넌트에서 사용할 수 있는 메서드나 속성을 보려면 코드 완성(Ctrl+Space) 기능을 사용하십시오.
상속
대부분의 계측기 컨트롤 클래스는 Delphi VCL의 TGraphicControl 또는 TCustomControl 기본 클래스에서 메서드(및 속성과 이벤트)를 상속받습니다. 따라서 여기서 다루는 계측기 컨트롤 메서드는 각 항목의 설명에 명시된 대로 해당 기본 클래스의 메서드에 추가로 제공되는 메서드입니다.
예를 들어 TInstrumentCheckBox 컨트롤의 하향식 상속 구조는 다음과 같습니다.
| 상속 경로 | 메서드 |
|---|---|
TGraphicControl |
해당 Delphi 참조 문서를 참조하십시오. |
TCustomInstrumentCheckBox |
아래의 TXPCheckBox 항목을 참조하십시오. |
TInstrumentCheckBox |
아래의 TXPCheckBox 항목을 참조하십시오. |
컴포넌트 메서드
Altium 계측기 컨트롤 컴포넌트는 Embarcadero Visual Component Library(VCL)의 핵심 클래스를 기반으로 합니다. 각 계측기 컨트롤은 원본 VCL 클래스에서 메서드, 속성 및 이벤트를 상속받으며, 대부분 추가적인 Custom 메서드를 제공합니다. 예를 들어 TInstrumentCheckBox 컴포넌트와 표준 TCheckBox 컴포넌트는 모두 Click 메서드를 제공하지만, TInstrumentCheckBox 컴포넌트는 Changed 메서드도 제공합니다.
다음 목록을 사용하여 계측기 컨트롤 범주의 각 컴포넌트에서 사용할 수 있는 메서드 정보로 이동하십시오.
![]() |
TSignalLinkManager | 계측기 신호 연결 관리자. |
| TInstrumentBackgroundPanel | 계측기 패널 배경색. | |
| TInstrumentBackground | 계측기 배경색. | |
| TInstrumentButton | 계측기 누름 버튼. | |
| TInstrumentCaption | 계측기 패널 캡션. | |
| TInstrumentCheckBox | 계측기 체크박스. | |
| TInstrumentEdit | 계측기 편집 상자. | |
| TInstrumentGauge | 아날로그 방식의 계측기 게이지/미터. | |
| TInstrumentGlyphButton | 계측기 스피드 버튼 그래픽 이미지. | |
| TInstrumentGraph | 계측기 그래프 디스플레이. | |
| TInstrumentKnob | 계측기 회전식 제어 노브. | |
| TInstrumentLabel | 계측기 패널 레이블. | |
| TInstrumentLEDDigits | 7세그먼트 디지털 LED 디스플레이. | |
| TInstrumentLEDsPanel | 그룹화된 LED 표시등 행. | |
| TInstrumentMultiGraph | 다중 트레이스 그래프 디스플레이. | |
| TInstrumentNumericPanel | 계측기 숫자 표시부. | |
| TInstrumentPanel | 계측기 패널 영역. | |
| TInstrumentProgressBar | LED 막대형 신호/진행 상태 표시기 | |
| TInstrumentRadioButton | 계측기 라디오 버튼 선택기. | |
| TInstrumentRadioGroup | 라디오 버튼용 계측기 그룹 컨트롤. | |
| TInstrumentScrollbar | 계측기 스크롤 막대 컨트롤. | |
| TInstrumentShape | 계측기 패널 기하학적 도형. | |
| TInstrumentSilkScreen | 계측기 패널 실크스크린 오버레이. | |
| TInstrumentTerminal | 계측기 문자 표시 터미널 창. | |
| TInstrumentTrackBar | 계측기 슬라이더 막대 컨트롤. |
TSignalLinkManager
TSignalLinkManager 는 기본 TComponent 클래스에서 메서드를 상속받습니다. TSignalLinkManager 클래스는 다음과 같은 추가 메서드를 제공합니다.
TSignalLinkManager:
Procedure DoPoll;
Procedure ClearSignalLinks;
Procedure UpdateSignals(AInput, AOutput : LongBool);
TInstrumentBackgroundPanel
TInstrumentBackgroundPanel 은 기본 TCustomControl 클래스에서 메서드를 상속받습니다. TXPCustomControl, TXPCustomExtPanel 및 TCustomInstrumentBackgroundPanel 클래스는 다음과 같은 추가 메서드를 제공합니다.
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 는 기본 TGraphicControl 클래스에서 메서드를 상속받습니다. TCustomGraphicInstrumentWithBackground 및 TCustomGraphicInstrumentWithInterior 클래스는 다음과 같은 추가 메서드를 제공합니다.
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 은 기본 TCustomControl 클래스에서 메서드를 상속받습니다. TXPCustomControl, TXPCustomTransparentControl, TXPBaseCustomSpeedButton, TXPCustomSpeedButton 및 TCustomInstrumentButton 클래스는 다음과 같은 추가 메서드를 제공합니다.
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은 기본 TCustomLabel 클래스에서 메서드를 상속받습니다. TCustomInstrumentLabel 클래스는 다음과 같은 추가 메서드를 제공합니다.
TCustomInstrumentLabel:
Procedure DoPaint(ACanvas : TCanvas; Const ARect : TRect);
TInstrumentCheckBox
TInstrumentCheckBox 는 기본 TGraphicControl 클래스에서 메서드를 상속받습니다. TCustomInstrumentCheckBox 클래스는 다음과 같은 추가 메서드를 제공합니다.
TCustomInstrumentCheckBox:
Procedure Changed;
TInstrumentEdit
TInstrumentEdit 은 기본 TCustomControl 클래스에서 메서드를 상속받습니다. TXPCustomControl 및 TCustomXPEdit 클래스는 다음과 같은 추가 메서드를 제공합니다.
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 는 기본 TGraphicControl 클래스에서 메서드를 상속받습니다. TCustomGraphicInstrumentWithBackground, TCustomGraphicInstrumentWithNoise 및 TCustomInstrumentGauge 클래스는 다음과 같은 추가 메서드를 제공합니다.
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 은 기본 TCustomControl 클래스에서 메서드를 상속받습니다. TXPCustomControl, TXPCustomTransparentControl, TXPBaseCustomSpeedButton, TXPCustomSpeedButton, TCustomInstrumentButton 및 TCustomInstrumentGlyphButton 클래스는 다음과 같은 추가 메서드를 제공합니다.
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 는 기본 TGraphicControl 클래스에서 메서드를 상속받습니다. TCustomGraphicInstrumentWithBackground, TCustomGraphicInstrumentWithInterior 및 TCustomInstrumentGraph 클래스는 다음과 같은 추가 메서드를 제공합니다.
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
TInstrumentKno는 기본 TCustomControl 클래스에서 메서드를 상속받습니다. TXPCustomControl 및 TCustomInstrumentSlider 클래스는 다음과 같은 추가 메서드를 제공합니다.
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은 기본 TCustomLabel 클래스에서 메서드를 상속받습니다. TCustomInstrumentLabel 클래스는 다음과 같은 추가 메서드를 제공합니다.
TInstrumentLabel:
Procedure DoPaint(ACanvas : TCanvas; Const ARect : TRect);
TInstrumentLEDDigits
TInstrumentLEDDigit는 기본 TGraphicControl 클래스에서 메서드를 상속받습니다. TCustomGraphicInstrumentWithBackground, TCustomGraphicInstrumentWithInterior,
TCustomInstrumentDigitsPanel 및 TCustomInstrumentLEDDigits 클래스는 다음과 같은 추가 메서드를 제공합니다.
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 은 기본 TGraphicControl 클래스에서 메서드를 상속받습니다. TCustomGraphicInstrumentWithBackground, TCustomGraphicInstrumentWithInterior,
TCustomInstrumentDigitsPanel 및 TCustomInstrumentLEDsPanel 클래스는 다음과 같은 추가 메서드를 제공합니다.
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 는 기본 TGraphicControl 클래스에서 메서드를 상속받습니다. TCustomGraphicInstrumentWithBackground, TCustomGraphicInstrumentWithInterior 및 TCustomInstrumentGraph 클래스는 다음과 같은 추가 메서드를 제공합니다.
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 은 기본 TGraphicControl 클래스에서 메서드를 상속받습니다. TCustomGraphicInstrumentWithBackground, TCustomGraphicInstrumentWithInterior,
TCustomInstrumentDigitsPanel 및 TCustomInstrumentNumericPanel 클래스는 다음과 같은 추가 메서드를 제공합니다.
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 은 기본 TCustomControl 클래스에서 메서드를 상속받습니다. TXPCustomControl 및 TCustomInstrumentPanel 클래스는 다음과 같은 추가 메서드를 제공합니다.
TXPCustomControl:
Procedure UpdateSmoothDraw;
Function GetModified : Boolean;
Procedure ClearModified;
TCustomInstrumentPanel:
Procedure PaintOnPanel(APanel : TCustomInstrumentBackgroundPanel);
TInstrumentProgressBar
TInstrumentProgressBar 는 기본 TGraphicControl 클래스에서 메서드를 상속받습니다. TCustomGraphicInstrumentWithBackground, TCustomGraphicInstrumentWithNoise 및 TCustomInstrumentProgressBar 클래스는 다음과 같은 추가 메서드를 제공합니다.
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 기본 TGraphicControl 클래스에서 메서드를 상속합니다. TCustomInstrumentCheckBox 및 TCustomInstrumentRadioButton 클래스는 다음과 같은 추가 메서드를 제공합니다:
TCustomInstrumentCheckBox:
Procedure Changed;
TCustomInstrumentRadioButton:
Procedure TurnSiblingsOff;
TInstrumentRadioGroup
TInstrumentRadioGroup 은 기본 TCustomControl 클래스에서 메서드를 상속합니다. TXPCustomControl 및 TCustomInstrumentPanel 클래스는 다음과 같은 추가 메서드를 제공합니다:
TXPCustomControl:
Procedure UpdateSmoothDraw;
Function GetModified : Boolean;
Procedure ClearModified;
TCustomInstrumentPanel:
Procedure PaintOnPanel(APanel : TCustomInstrumentBackgroundPanel);
TInstrumentScrollbar
TInstrumentScrollbar 는 기본 TCustomControl 클래스에서 메서드를 상속합니다. TXPCustomControl, TCustomXPScrollBar 및 TCustomInstrumentScrollBar 클래스는 다음과 같은 추가 메서드를 제공합니다:
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는 기본 TShape 컴포넌트 클래스에서 메서드를 상속합니다.
TInstrumentSilkScreen
TInstrumentSilkScree은 기본 TCustomControl 클래스에서 메서드를 상속합니다. TXPCustomControl 클래스는 다음과 같은 추가 메서드를 제공합니다:
TXPCustomControl:
Procedure UpdateSmoothDraw;
Function GetModified : Boolean;
Procedure ClearModified;
TInstrumentTerminal
TInstrumentTerminal 은 기본 TCustomControl 클래스에서 메서드를 상속합니다. TXPCustomControl, TCustomInstrumentPanel 및 TCustomInstrumentTerminal 클래스는 다음과 같은 추가 메서드를 제공합니다:
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 는 기본 TCustomControl 클래스에서 메서드를 상속합니다. TXPCustomControl 및 TCustomInstrumentSlider 클래스는 다음과 같은 추가 메서드를 제공합니다:
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)
