Controles de instrumentos
Num relance
- Encontre propriedades e eventos dos controles no painel Object Inspector e descubra métodos com Ctrl+Espaço.
- Entenda quais métodos os controles herdam das classes da VCL e quais métodos adicionais oferecem.
- Consulte as referências de métodos específicos de cada componente, tendo em mente a limitação do suporte a FPGA.
A guia Tool Palette's Instrument Controls contém componentes (controles) usados para projetar a interface gráfica de um painel de Instrumento Personalizado do Altium Designer. Esses controles são específicos para uso com o Instrumento Personalizado.
► Consulte Interface gráfica do Instrumento Personalizado - Controles de instrumento disponíveis para obter uma descrição funcional de cada controle de instrumento.
Para visualizar as Propriedades e os Eventos associados a um componente de controle de instrumento inserido em um formulário de script, use a guia Properties ou Events no painel Object Inspector (View » Panels » Object Inspector).
Para encontrar um Método (ou Propriedade) específico de um controle de instrumento, use o recurso de preenchimento automático de código (consulte Ferramentas do Editor de Scripts). Por exemplo, ao digitar TInstrumentCheckBox.get, a janela de preenchimento automático de código exibirá uma lista devidamente filtrada de métodos e propriedades do componente TInstrumentCheckBox . Use Ctrl+Space para abrir manualmente a janela de preenchimento automático de código.

Use o recurso de preenchimento automático de código (Ctrl+Space) para ver os Métodos ou as Propriedades disponíveis para um componente.
Herança
A maioria das classes de controles de instrumento herda seus Métodos (e Propriedades e Eventos) das classes base TGraphicControl ou TCustomControl da VCL do Delphi. Portanto, os métodos de controles de instrumento abordados aqui complementam os de uma dessas classes base, conforme indicado na referência de cada entrada.
Como exemplo, a hierarquia de herança descendente do controle TInstrumentCheckBox é a seguinte:
| Caminho de herança | Métodos |
|---|---|
TGraphicControl |
Consulte a referência correspondente do Delphi. |
TCustomInstrumentCheckBox |
Consulte a entrada TXPCheckBox abaixo. |
TInstrumentCheckBox |
Consulte a entrada TXPCheckBox abaixo. |
Métodos dos componentes
Os componentes de controle de instrumento da Altium são baseados em classes fundamentais da Embarcadero Visual Component Library (VCL). Cada controle de instrumento herda os métodos, as propriedades e os eventos de sua classe de origem na VCL, e a maioria oferece métodos personalizados adicionais. Por exemplo, tanto o componente TInstrumentCheckBox quanto o componente padrão TCheckBox oferecem o método Click, enquanto o componente TInstrumentCheckBox também fornece o método Changed.
Use a lista a seguir para acessar informações sobre os métodos disponíveis para cada componente na categoria Controles de Instrumento:
![]() |
TSignalLinkManager | Gerenciador de vinculação de sinais do instrumento. |
| TInstrumentBackgroundPanel | Cor de fundo do painel do instrumento. | |
| TInstrumentBackground | Cor de fundo do instrumento. | |
| TInstrumentButton | Botão de pressão do instrumento. | |
| TInstrumentCaption | Título do painel do instrumento. | |
| TInstrumentCheckBox | Caixa de seleção do instrumento. | |
| TInstrumentEdit | Caixa de edição do instrumento. | |
| TInstrumentGauge | Medidor de instrumento de estilo analógico. | |
| TInstrumentGlyphButton | Imagem gráfica do botão de acesso rápido do instrumento. | |
| TInstrumentGraph | Exibição gráfica do instrumento. | |
| TInstrumentKnob | Botão de controle giratório do instrumento. | |
| TInstrumentLabel | Rótulo do painel do instrumento. | |
| TInstrumentLEDDigits | Visor digital de LED de 7 segmentos. | |
| TInstrumentLEDsPanel | Fileira de indicadores LED agrupados. | |
| TInstrumentMultiGraph | Exibição gráfica de múltiplas curvas. | |
| TInstrumentNumericPanel | Leitura numérica do instrumento. | |
| TInstrumentPanel | Área do painel do instrumento. | |
| TInstrumentProgressBar | Indicador de sinal/progresso em barra de LED | |
| TInstrumentRadioButton | Seletor de botão de opção do instrumento. | |
| TInstrumentRadioGroup | Controle de grupo de botões de opção do instrumento. | |
| TInstrumentScrollbar | Controle de barra de rolagem do instrumento. | |
| TInstrumentShape | Forma geométrica do painel do instrumento. | |
| TInstrumentSilkScreen | Sobreposição de serigrafia do painel do instrumento. | |
| TInstrumentTerminal | Janela de terminal de exibição de caracteres do instrumento. | |
| TInstrumentTrackBar | Controle deslizante do instrumento. |
TSignalLinkManager
TSignalLinkManager herda seus métodos da classe base TComponent. A classe TSignalLinkManager fornece os seguintes métodos adicionais:
TSignalLinkManager:
Procedure DoPoll;
Procedure ClearSignalLinks;
Procedure UpdateSignals(AInput, AOutput : LongBool);
TInstrumentBackgroundPanel
TInstrumentBackgroundPanel herda seus métodos da classe base TCustomControl. As classes TXPCustomControl, TXPCustomExtPanel e TCustomInstrumentBackgroundPanel fornecem os seguintes métodos adicionais:
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 herda seus métodos da classe base TGraphicControl. As classes TCustomGraphicInstrumentWithBackground e TCustomGraphicInstrumentWithInterior fornecem os seguintes métodos adicionais:
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 herda seus métodos da classe base TCustomControl. As classes TXPCustomControl, TXPCustomTransparentControl, TXPBaseCustomSpeedButton, TXPCustomSpeedButton e TCustomInstrumentButton fornecem os seguintes métodos adicionais:
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 herda seus métodos da classe base TCustomLabel. A classe TCustomInstrumentLabel fornece o seguinte método adicional:
TCustomInstrumentLabel:
Procedure DoPaint(ACanvas : TCanvas; Const ARect : TRect);
TInstrumentCheckBox
TInstrumentCheckBox herda seus métodos da classe base TGraphicControl. A classe TCustomInstrumentCheckBox fornece o seguinte método adicional:
TCustomInstrumentCheckBox:
Procedure Changed;
TInstrumentEdit
TInstrumentEdit herda seus métodos da classe base TCustomControl. As classes TXPCustomControl e TCustomXPEdit fornecem os seguintes métodos adicionais:
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 herda seus métodos da classe base TGraphicControl. As classes TCustomGraphicInstrumentWithBackground, TCustomGraphicInstrumentWithNoise e TCustomInstrumentGauge fornecem os seguintes métodos adicionais:
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 herda seus métodos da classe base TCustomControl. As classes TXPCustomControl, TXPCustomTransparentControl, TXPBaseCustomSpeedButton, TXPCustomSpeedButton, TCustomInstrumentButton e TCustomInstrumentGlyphButton fornecem os seguintes métodos adicionais:
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 herda seus métodos da classe base TGraphicControl. As classes TCustomGraphicInstrumentWithBackground, TCustomGraphicInstrumentWithInterior e TCustomInstrumentGraph fornecem os seguintes métodos adicionais:
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 herda seus métodos da classe base TCustomControl. As classes TXPCustomControl e TCustomInstrumentSlider fornecem os seguintes métodos adicionais:
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 herda seus métodos da classe base TCustomLabel. A classe TCustomInstrumentLabel fornece o seguinte método adicional:
TInstrumentLabel:
Procedure DoPaint(ACanvas : TCanvas; Const ARect : TRect);
TInstrumentLEDDigits
TInstrumentLEDDigit herda seus métodos da classe base TGraphicControl. As classes TCustomGraphicInstrumentWithBackground, TCustomGraphicInstrumentWithInterior,
TCustomInstrumentDigitsPanel e TCustomInstrumentLEDDigits fornecem os seguintes métodos adicionais:
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 herda seus métodos da classe base TGraphicControl. As classes TCustomGraphicInstrumentWithBackground, TCustomGraphicInstrumentWithInterior,
TCustomInstrumentDigitsPanel e TCustomInstrumentLEDsPanel fornecem os seguintes métodos adicionais:
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 herda seus métodos da classe base TGraphicControl. As classes TCustomGraphicInstrumentWithBackground, TCustomGraphicInstrumentWithInterior e TCustomInstrumentGraph fornecem os seguintes métodos adicionais:
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 herda seus métodos da classe base TGraphicControl. As classes TCustomGraphicInstrumentWithBackground, TCustomGraphicInstrumentWithInterior,
TCustomInstrumentDigitsPanel e TCustomInstrumentNumericPanel fornecem os seguintes métodos adicionais:
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 herda seus métodos da classe base TCustomControl. As classes TXPCustomControl e TCustomInstrumentPanel fornecem os seguintes métodos adicionais:
TXPCustomControl:
Procedure UpdateSmoothDraw;
Function GetModified : Boolean;
Procedure ClearModified;
TCustomInstrumentPanel:
Procedure PaintOnPanel(APanel : TCustomInstrumentBackgroundPanel);
TInstrumentProgressBar
TInstrumentProgressBar herda seus métodos da classe base TGraphicControl. As classes TCustomGraphicInstrumentWithBackground, TCustomGraphicInstrumentWithNoise e TCustomInstrumentProgressBar fornecem os seguintes métodos adicionais:
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 herda seus métodos da classe base TGraphicControl. As classes TCustomInstrumentCheckBox e TCustomInstrumentRadioButton fornecem os seguintes métodos adicionais:
TCustomInstrumentCheckBox:
Procedure Changed;
TCustomInstrumentRadioButton:
Procedure TurnSiblingsOff;
TInstrumentRadioGroup
TInstrumentRadioGroup herda seus métodos da classe base TCustomControl. As classes TXPCustomControl e TCustomInstrumentPanel fornecem os seguintes métodos adicionais:
TXPCustomControl:
Procedure UpdateSmoothDraw;
Function GetModified : Boolean;
Procedure ClearModified;
TCustomInstrumentPanel:
Procedure PaintOnPanel(APanel : TCustomInstrumentBackgroundPanel);
TInstrumentScrollbar
TInstrumentScrollbar herda seus métodos da classe base TCustomControl. As classes TXPCustomControl, TCustomXPScrollBar e TCustomInstrumentScrollBar fornecem os seguintes métodos adicionais:
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 herda seus métodos da classe de componente base TShape.
TInstrumentSilkScreen
TInstrumentSilkScree herda seus métodos da classe base TCustomControl. A classe TXPCustomControl fornece os seguintes métodos adicionais:
TXPCustomControl:
Procedure UpdateSmoothDraw;
Function GetModified : Boolean;
Procedure ClearModified;
TInstrumentTerminal
TInstrumentTerminal herda seus métodos da classe base TCustomControl. As classes TXPCustomControl, TCustomInstrumentPanel e TCustomInstrumentTerminal fornecem os seguintes métodos adicionais:
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 herda seus métodos da classe base TCustomControl. As classes TXPCustomControl e TCustomInstrumentSlider fornecem os seguintes métodos adicionais:
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)
