Controles de instrumentos
O separador Tool Palette's Instrument Controls contém componentes (controlos) que são utilizados para conceber uma GUI de painel Custom Instrument no Altium Designer. Estes controlos destinam-se especificamente a ser utilizados com o Custom Instrument.
► Consulte Custom Instrument GUI - Available Instrument Controls para uma descrição funcional de cada Controlo de Instrumento.
Para ver as Propriedades e Eventos associados a um componente Instrument Control colocado num Form de script, utilize o separador Properties ou Events no painel Object Inspector (View » Panels » Object Inspector).
Para localizar um determinado Método (ou Propriedade) para um Instrument Control, utilize a funcionalidade Code Completion (consulte Script Editor Tools). Por exemplo, ao escrever TInstrumentCheckBox.get a janela Code Completion mostrará uma lista adequadamente filtrada de métodos e propriedades para o componente TInstrumentCheckBox . Utilize Ctrl+Space para abrir manualmente a janela Code Completion.

Utilize a funcionalidade Code Completion (Ctrl+Space) para ver os Métodos ou Propriedades disponíveis para um componente.
Herança
A maioria das classes Instrument Control herda os seus Métodos (bem como Propriedades e Eventos) das classes base Delphi VCL TGraphicControl ou TCustomControl. Assim, os métodos de Instrument Control aqui abordados são adicionais aos de uma dessas classes base, conforme indicado em cada referência de entrada.
A título de exemplo, a herança descendente para o controlo TInstrumentCheckBox é a seguinte:
| Caminho de herança | Métodos |
|---|---|
TGraphicControl |
Consulte a referência Delphi correspondente. |
TCustomInstrumentCheckBox |
Consulte a entrada TXPCheckBox abaixo. |
TInstrumentCheckBox |
Consulte a entrada TXPCheckBox abaixo. |
Métodos do componente
Os componentes Altium Instrument Control baseiam-se em classes principais da Embarcadero Visual Component Library (VCL). Cada Instrument Control herda os métodos, propriedades e eventos da sua origem VCL, e a maioria oferece métodos personalizados adicionais. Por exemplo, tanto o componente TInstrumentCheckBox como o componente padrão TCheckBox disponibilizam o método Click, ao passo que o componente TInstrumentCheckBox também disponibiliza o método Changed.
Utilize a lista seguinte para navegar até à informação sobre os métodos disponíveis para cada componente na categoria Instrument Controls:
![]() |
TSignalLinkManager | Gestor de ligaçã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 | Legenda do painel do instrumento. | |
| TInstrumentCheckBox | Caixa de verificação do instrumento. | |
| TInstrumentEdit | Caixa de edição do instrumento. | |
| TInstrumentGauge | Indicador/medidor de instrumento de estilo analógico. | |
| TInstrumentGlyphButton | Imagem gráfica do botão rápido do instrumento. | |
| TInstrumentGraph | Visualização do gráfico do instrumento. | |
| TInstrumentKnob | Botão rotativo de controlo do instrumento. | |
| TInstrumentLabel | Etiqueta do painel do instrumento. | |
| TInstrumentLEDDigits | Visor LED digital de 7 segmentos. | |
| TInstrumentLEDsPanel | Linha agrupada de indicadores LED. | |
| TInstrumentMultiGraph | Visualização de gráfico com múltiplos traços. | |
| TInstrumentNumericPanel | Leitura numérica do instrumento. | |
| TInstrumentPanel | Área do painel do instrumento. | |
| TInstrumentProgressBar | Indicador LED de barra de sinal/progresso | |
| TInstrumentRadioButton | Seletor de botão de opção do instrumento. | |
| TInstrumentRadioGroup | Controlo de grupo do instrumento para botões de opção. | |
| TInstrumentScrollbar | Controlo de barra de deslocamento do instrumento. | |
| TInstrumentShape | Forma geométrica do painel do instrumento. | |
| TInstrumentSilkScreen | Sobreposição de serigrafia do painel do instrumento. | |
| TInstrumentTerminal | Janela de terminal de visualização de caracteres do instrumento. | |
| TInstrumentTrackBar | Controlo de barra deslizante do instrumento. |
TSignalLinkManager
TSignalLinkManager herda os seus métodos da classe base TComponent. A classe TSignalLinkManager disponibiliza os seguintes métodos adicionais:
TSignalLinkManager:
Procedure DoPoll;
Procedure ClearSignalLinks;
Procedure UpdateSignals(AInput, AOutput : LongBool);
TInstrumentBackgroundPanel
TInstrumentBackgroundPanel herda os seus métodos da classe base TCustomControl. As classes TXPCustomControl, TXPCustomExtPanel e TCustomInstrumentBackgroundPanel disponibilizam 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 os seus métodos da classe base TGraphicControl. As classes TCustomGraphicInstrumentWithBackground e TCustomGraphicInstrumentWithInterior disponibilizam 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 os seus métodos da classe base TCustomControl. As classes TXPCustomControl, TXPCustomTransparentControl, TXPBaseCustomSpeedButton, TXPCustomSpeedButton e TCustomInstrumentButton disponibilizam 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 os seus métodos da classe base TCustomLabel. A classe TCustomInstrumentLabel disponibiliza o seguinte método adicional:
TCustomInstrumentLabel:
Procedure DoPaint(ACanvas : TCanvas; Const ARect : TRect);
TInstrumentCheckBox
TInstrumentCheckBox herda os seus métodos da classe base TGraphicControl. A classe TCustomInstrumentCheckBox disponibiliza o seguinte método adicional:
TCustomInstrumentCheckBox:
Procedure Changed;
TInstrumentEdit
TInstrumentEdit herda os seus métodos da classe base TCustomControl. As classes TXPCustomControl e TCustomXPEdit disponibilizam 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 os seus métodos da classe base TGraphicControl. As classes TCustomGraphicInstrumentWithBackground, TCustomGraphicInstrumentWithNoise e TCustomInstrumentGauge disponibilizam 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 os seus métodos da classe base TCustomControl. As classes TXPCustomControl, TXPCustomTransparentControl, TXPBaseCustomSpeedButton, TXPCustomSpeedButton, TCustomInstrumentButton e TCustomInstrumentGlyphButton disponibilizam 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 os seus métodos da classe base TGraphicControl. As classes TCustomGraphicInstrumentWithBackground, TCustomGraphicInstrumentWithInterior e TCustomInstrumentGraph disponibilizam 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
TInstrumentKnob herda os seus métodos da classe base TCustomControl. As classes TXPCustomControl e TCustomInstrumentSlider disponibilizam 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 os seus métodos da classe base TCustomLabel. A classe TCustomInstrumentLabel disponibiliza o seguinte método adicional:
TInstrumentLabel:
Procedure DoPaint(ACanvas : TCanvas; Const ARect : TRect);
TInstrumentLEDDigits
TInstrumentLEDDigits herda os seus métodos da classe base TGraphicControl. As classes TCustomGraphicInstrumentWithBackground, TCustomGraphicInstrumentWithInterior,
TCustomInstrumentDigitsPanel e TCustomInstrumentLEDDigits disponibilizam 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 os seus métodos da classe base TGraphicControl. As classes TCustomGraphicInstrumentWithBackground, TCustomGraphicInstrumentWithInterior,
TCustomInstrumentDigitsPanel e TCustomInstrumentLEDsPanel disponibilizam 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 os seus métodos da classe base TGraphicControl. As classes TCustomGraphicInstrumentWithBackground, TCustomGraphicInstrumentWithInterior e TCustomInstrumentGraph disponibilizam 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 os seus métodos da classe base TGraphicControl. As classes TCustomGraphicInstrumentWithBackground, TCustomGraphicInstrumentWithInterior,
TCustomInstrumentDigitsPanel e TCustomInstrumentNumericPanel disponibilizam 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 os seus métodos da classe base TCustomControl. As classes TXPCustomControl e TCustomInstrumentPanel disponibilizam os seguintes métodos adicionais:
TXPCustomControl:
Procedure UpdateSmoothDraw;
Function GetModified : Boolean;
Procedure ClearModified;
TCustomInstrumentPanel:
Procedure PaintOnPanel(APanel : TCustomInstrumentBackgroundPanel);
TInstrumentProgressBar
TInstrumentProgressBar herda os seus métodos da classe base TGraphicControl. As classes TCustomGraphicInstrumentWithBackground, TCustomGraphicInstrumentWithNoise e TCustomInstrumentProgressBar disponibilizam 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 os seus métodos da classe base TGraphicControl. As classes TCustomInstrumentCheckBox e TCustomInstrumentRadioButton disponibilizam os seguintes métodos adicionais:
TCustomInstrumentCheckBox:
Procedure Changed;
TCustomInstrumentRadioButton:
Procedure TurnSiblingsOff;
TInstrumentRadioGroup
TInstrumentRadioGroup herda os seus métodos da classe base TCustomControl. As classes TXPCustomControl e TCustomInstrumentPanel disponibilizam os seguintes métodos adicionais:
TXPCustomControl:
Procedure UpdateSmoothDraw;
Function GetModified : Boolean;
Procedure ClearModified;
TCustomInstrumentPanel:
Procedure PaintOnPanel(APanel : TCustomInstrumentBackgroundPanel);
TInstrumentScrollbar
TInstrumentScrollbar herda os seus métodos da classe base TCustomControl. As classes TXPCustomControl, TCustomXPScrollBar e TCustomInstrumentScrollBar disponibilizam 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 os seus métodos da classe base do componente TShape.
TInstrumentSilkScreen
TInstrumentSilkScreen herda os seus métodos da classe base TCustomControl. A classe TXPCustomControl disponibiliza os seguintes métodos adicionais:
TXPCustomControl:
Procedure UpdateSmoothDraw;
Function GetModified : Boolean;
Procedure ClearModified;
TInstrumentTerminal
TInstrumentTerminal herda os seus métodos da classe base TCustomControl. As classes TXPCustomControl, TCustomInstrumentPanel e TCustomInstrumentTerminal disponibilizam 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 os seus métodos da classe base TCustomControl. As classes TXPCustomControl e TCustomInstrumentSlider disponibilizam 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)
