Instrument Controls

Tool Palette's Instrument Controlsタブには、Altium Designer のCustom InstrumentパネルGUIを設計するために使用するコンポーネント(コントロール)が含まれています。これらのコントロールは、Custom Instrument での使用に特化しています。

計測器コントロールは Altium Designer のスクリプト環境で使用できますが、Custom Instrument によって信号を監視・制御できる FPGA 設計のサポートは、Altium Designer バージョン 18.0 以降ではサポートされていない点に注意してください。
計測器コントロールは Altium NEXUS のスクリプト環境で使用できますが、Custom Instrument によって信号を監視・制御できる FPGA 設計のサポートは、Altium NEXUS ではサポートされていない点に注意してください。

► 各 Instrument Control の機能説明については、Custom Instrument GUI - Available Instrument Controls を参照してください。

スクリプト Form 上に配置した Instrument Control コンポーネントに関連する Properties と Events を表示するには、Object Inspector panelView » Panels » Object Inspector)の Properties または Events タブを使用します。

Instrument Control の特定の Method(または Property)を探すには、コード補完機能(Script Editor Tools を参照)を使用します。たとえば TInstrumentCheckBox.get と入力すると、コード補完ウィンドウに TInstrumentCheckBox component に対するメソッドおよびプロパティの、適切にフィルタされた一覧が表示されます。Ctrl+Space を使用して、コード補完ウィンドウを手動で起動できます。

コード補完(Ctrl+Space)機能を使用して、コンポーネントで利用可能な Methods または Properties を確認してください。
コード補完(Ctrl+Space)機能を使用して、コンポーネントで利用可能な Methods または Properties を確認してください。

継承

Instrument Control クラスの大半は、Delphi VCL の TGraphicControl または TCustomControl 基底クラスから Methods(および Properties と Events)を継承しています。そのため、ここで扱う Instrument Control のメソッドは、各エントリ参照に記載されているとおり、これら基底クラスに追加されるものです。

例として、TInstrumentCheckBox コントロールの下位方向の継承は次のとおりです。

継承パス Methods
TGraphicControl 対応する Delphi リファレンスを参照してください。
    TCustomInstrumentCheckBox 以下の TXPCheckBox エントリを参照してください。
        TInstrumentCheckBox 以下の TXPCheckBox エントリを参照してください。

コンポーネントの Methods

Altium の Instrument Control コンポーネントは、Embarcadero Visual Component Library (VCL) のコアクラスに基づいています。各 Instrument Control は VCL の元となるクラスから methods、properties、events を継承し、ほとんどのものが追加のカスタムメソッドを提供します。たとえば TInstrumentCheckBox コンポーネントと標準の TCheckBox コンポーネントはいずれも Click メソッドを提供しますが、TInstrumentCheckBox コンポーネントはさらに Changed メソッドも提供します。

Instrument Controls カテゴリにある各コンポーネントで利用可能なメソッド情報へ移動するには、次のリストを使用してください。

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 クラスからメソッドを継承します。TXPCustomControlTXPCustomExtPanel および 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 クラスからメソッドを継承します。TXPCustomControlTXPCustomTransparentControlTXPBaseCustomSpeedButton, 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 クラスからメソッドを継承します。TCustomGraphicInstrumentWithBackgroundTCustomGraphicInstrumentWithNoise および 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 クラスからメソッドを継承します。TXPCustomControlTXPCustomTransparentControlTXPBaseCustomSpeedButton, 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 クラスからメソッドを継承します。TCustomGraphicInstrumentWithBackgroundTCustomGraphicInstrumentWithInterior および 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

TInstrumentKnob は、基底の 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

TInstrumentLEDDigits は、基底の TGraphicControl クラスからメソッドを継承します。 TCustomGraphicInstrumentWithBackgroundTCustomGraphicInstrumentWithInterior
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 クラスからメソッドを継承します。 TCustomGraphicInstrumentWithBackgroundTCustomGraphicInstrumentWithInterior
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 クラスからメソッドを継承します。TCustomGraphicInstrumentWithBackgroundTCustomGraphicInstrumentWithInterior および 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 クラスからメソッドを継承します。 TCustomGraphicInstrumentWithBackgroundTCustomGraphicInstrumentWithInterior
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 クラスからメソッドを継承します。TCustomGraphicInstrumentWithBackgroundTCustomGraphicInstrumentWithNoise および 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 クラスからメソッドを継承します。TXPCustomControlTCustomXPScrollBar および 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

TInstrumentSilkScreen は、基底の TCustomControl クラスからメソッドを継承します。TXPCustomControl クラスは次の追加メソッドを提供します。

TXPCustomControl:
Procedure UpdateSmoothDraw;
Function  GetModified : Boolean;
Procedure ClearModified;

TInstrumentTerminal

TInstrumentTerminal は、基底の TCustomControl クラスからメソッドを継承します。TXPCustomControlTCustomInstrumentPanel および 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)
AI-LocalizedAI で翻訳
問題が見つかった場合、文字/画像を選択し、Ctrl + Enter キーを押してフィードバックをお送りください。
機能の可用性

利用できる機能は、所有する Altium ソリューション (Altium DevelopAltium Agile のエディション (Agile Teams、または Agile Enterprise)、または Altium Designer (有効な期間)) によって異なります。

説明されている機能がお使いのソフトウェアに表示されない場合、Altium の営業担当者にお問い合わせください

従来のドキュメント

Altium Designer のドキュメントは、バージョンごとに掲載されなくなりました。Altium Designer の旧バージョンのドキュメントは、Other Installers ページの Legacy Documentation の項目をご覧ください。