計装制御
概略
- Object Inspectorパネルでコントロールのプロパティとイベントを確認し、Ctrl+Spaceでメソッドを検索できます。
- コントロールがVCLクラスから継承するメソッドと、独自に提供する追加メソッドを把握できます。
- FPGAサポートの制限に留意しながら、コンポーネントごとのメソッドリファレンスを参照できます。
Tool Palette's Instrument Controlsタブには、Altium Designerのカスタム計測器パネルGUIの設計に使用するコンポーネント(コントロール)が含まれています。これらのコントロールは、カスタム計測器専用です。
► 各計測器コントロールの機能については、カスタム計測器GUI - 使用可能な計測器コントロールを参照してください。
スクリプトフォームに配置した計測器コントロールコンポーネントのプロパティとイベントを表示するには、Object Inspectorパネル(View » Panels » Object Inspector)のProperties またはEvents タブを使用します。
計測器コントロールの特定のメソッド(またはプロパティ)を探すには、コード補完機能を使用します(スクリプトエディターツールを参照)。たとえば、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クラスからメソッド、プロパティ、イベントを継承し、その多くは独自の追加メソッドも備えています。たとえば、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)
