The Tool Palette's Altium Standard tab consists of standard type components with an Altium theme (look and feel) applied. In most cases, custom methods and additional properties are available.
To see the associated Properties and Events for an Altium Standard component placed on a script Form, use the Properties or Events tab in the Object Inspector panel (View » Panels » Object Inspector ).
To find a particular Method (or Property) for an Altium Standard component, use the Code Completion feature (see Script Editor Tools ). For example, typing TXPCheckBox.get
the Code Completion window will show a suitably filtered list of methods and properties for the TXPCheckBox
component. Use Ctrl+Space to manually invoke the Code Completion window.
Use the Code Completion (Ctrl+Space ) feature to see the available Methods or Properties for a component.
Inheritance
Copy Link
Copied
The majority of Altium Standard Control classes inherit their Methods (and Properties and Events) from the Delphi VCL TCustomControl
base class. The descending inheritance is typically:
TCustomControl
TXPCustomControl
... Altium Standard controls
Therefore the methods for each Altium Standard control covered here are in addition to the standard TCustomControl
methods , as noted in each reference.
By way of example, the descending inheritance for the TXPCheckBox
control is as follows:
The exceptions to the 'TCustomControl
→ TXPCustomControl
→ xxx
' inheritance path are the TXPLabel
, TXPSpinnerImage
, TXPImageList
, TXPSplitter
and TXStatusBar
controls. These inherit directly from standard controls, as noted in their respective entries below.
Component Methods
Copy Link
Copied
In general, the Altium Standard components offer the basic methods of its common counterpart along with a number of additional, custom methods. For example, both the TXPCheckBox
and common TCheckBox
components offer the GetChecked
function, whereas the GetAlphaImage
function is exclusive to TXPCheckBox
.
Use the following list to navigate to information on the methods available for each component in the Altium Standard category:
TWinXPPageControl
Related to the TPageControl component (Win32 Tab).
TWinXPTabControl
Related to the TTabControl component (Win32 Tab).
TXPBitBtn
Related to the TBitBtn component (Additional Tab).
TXPButton
Related to the TButton component (Standard Tab).
TXPButtonEdit
Related to the TEdit component (Standard Tab).
TXPButtonEx
Related to the TButton component (Standard Tab).
TXPCheckBox
Related to the TCheckBox component (Standard Tab).
TXPComboBox
Related to the TComboBox component (Standard Tab).
TXPDirectoryEdit
Related to the TEdit component (Standard Tab).
TXPEdit
Related to the TEdit component (Standard Tab).
TXPExtPanel
Related to the TPanel component (Standard Tab).
TXPFileNameEdit
Related to the TEdit component (Standard Tab).
TXPGroupBox
Related to the TGroupBox component (Standard Tab).
TXPHistoryEdit
Related to the TEdit component (Standard Tab).
TXPImageList
Related to the TImageList component (Win32 Tab).
TXPSpinnerImage
Related to the TImage component (Additional Tab).
TXPLabel
Related to the TLabel component (Standard Tab).
TXPListBox
Related to the TListBox component (Standard Tab).
TXPProgressBar
Related to the TProgressBar component (Win32 Tab).
TXPRadioButton
Related to the TRadioButton component (Standard Tab).
TXPRadioGroup
Related to the TRadioGroup component (Standard Tab).
TXPScrollBar
Related to the TScrollbar component (Standard Tab).
TXPSpeedButton
Related to the TSpeedButton component (Additional Tab).
TXPSpinEdit
Related to the TEdit component (Standard Tab).
TXPSplitButton
Related to the TButton component (Standard Tab).
TXPSplitter
Related to the TSplitter component (Additional Tab).
TXPTrackBar
Related to the TTrackbar component (Win32 Tab).
TXStatusBar
Related to the TStatusBar component (Win32 Tab).
TWinXPPageControl
TWinXPPageControl
is a variation of the TPageControl
component and provides these specific methods:
Procedure
InsertPage(Page : TWinXPTabSheet);
Procedure
InsertPageAt(Index :
Integer
; Page : TWinXPTabSheet);
Procedure
RemovePage(Page : TWinXPTabSheet);
In addtion, TWinXPPageControl
inherits methods from TCustomControl
and the following descending classes:
Procedure
UpdateSmoothDraw;
Function
GetModified :
Boolean
;
Function
Changing :
Boolean
Function
CreateTabs : TStrings;
Function
GetTabIndex :
Integer
;
Function
IsTabVisible(Index :
Integer
) :
Boolean
;
Function
IsTabUseImage(Index :
Integer
) :
Boolean
;
Procedure
SetActiveTabIndex(
Const
Value :
Integer
);
Procedure
UpdateActivePage;
Procedure
SetFocusAfterTabChange;
Procedure
SelectNextPage(GoForward :
Boolean
);
TWinXPTabControl
TWinXPTabControl
is a variation of the TTabControl
component and provides these specific methods:
Function
Changing :
Boolean
Function
CreateTabs : TStrings;
Function
GetTabIndex :
Integer
;
Function
IsTabVisible(Index :
Integer
) :
Boolean
;
Function
IsTabUseImage(Index :
Integer
) :
Boolean
;
Procedure
SetActiveTabIndex(
Const
Value :
Integer
);
Procedure
UpdateActivePage;
Procedure
SetFocusAfterTabChange;
Procedure
SelectNextPage(GoForward :
Boolean
);
In addtion, TWinXPTabControl
inherits methods from TCustomControl
and the following descending class:
Procedure
UpdateSmoothDraw;
Function
GetModified :
Boolean
;
TXPBitBtn
TXPBitBtn
is a variation of the TBitBtn
component. It inherits methods from TCustomControl
and the following descending classes:
Procedure
UpdateSmoothDraw;
Function
GetModified :
Boolean
;
TWinXPCustomButtonControl:
Procedure
CompulsoryClick;
Procedure
ButtonMouseDown(X, Y :
Integer
);
Procedure
ButtonMouseMove(X, Y :
Integer
);
Procedure
ButtonMouseUp (X, Y :
Integer
);
Function
GetControlState(Enabled, Pressed, Hot :
Boolean
) : TThemedButton; Virtual;
Function
GetShiftContentIfPressed :
Boolean
;
Procedure
ReDrawCaption(ARect : TRect; AFontColor : TColor);
Procedure
ReDrawInside (ARect : TRect; AFontColor : TColor);
TXPButton
TXPButton
is a variation of the TButton
component. It inherits methods from TCustomControl
and the following descending classes:
Procedure
UpdateSmoothDraw;
Function
GetModified :
Boolean
;
Procedure
DoMouseHover(State : TMouseState)
Procedure
InternalPaint(ARect : TRect)
Procedure
Prepaint(
Var
ARect : TRect)
TXPButtonEdit
TXPDirectoryEdit
is a variation of the TEdit
component. It inherits methods from TCustomControl
and the following descending classes:
Procedure
UpdateSmoothDraw;
Function
GetModified :
Boolean
;
Function
CalcInternalHeight :
Integer
;
Procedure
ChangeHotFont(IsHot :
Boolean
);
Procedure
ClearSelection;
Procedure
CopyToClipboard;
Procedure
CutToClipboard;
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
SetCaretPos(Value :
Integer
);
Procedure
SetText (
Const
Value : TCaption);
Procedure
SetTransparent(
Const
Value :
Boolean
);
Procedure
CtrlEnterClick;
Procedure
DoAdjustClientRect(
Var
Rect : TRect);
Function
GetButtonDetails(AButton : TXPEditButton) : TThemedElementDetails;
Function
GetButtonVisible(AButton : TXPEditButton; AVisible :
Boolean
) :
Boolean
;
Function
GetGlyph(AButton : TXPEditButton) : TGraphic;
Procedure
PaintButton(AButton : TXPEditButton);
Procedure
PaintGlyph(AButton : TXPEditButton;
Const
ARect : TRect);
Procedure
SetButtonVisibility;
TXPButtonEx
TXPButtonEx
is a custom version (Extra) of the TButton
component. It inherits methods from TCustomControl
and the following descending classes:
Procedure
UpdateSmoothDraw;
Function
GetModified :
Boolean
;
Procedure
DoMouseHover(State : TMouseState)
Procedure
InternalPaint(ARect : TRect)
Procedure
Prepaint(
Var
ARect : TRect)
TXPCheckBox
TXPCheckBox
is a variation of the TCheckBox
component. It inherits methods from TCustomControl
and the following descending classes:
Procedure
UpdateSmoothDraw;
Function
GetModified :
Boolean
;
TWinXPCustomButtonControl:
Procedure
CompulsoryClick;
Procedure
ButtonMouseDown(X, Y :
Integer
);
Procedure
ButtonMouseMove(X, Y :
Integer
);
Procedure
ButtonMouseUp (X, Y :
Integer
);
Function
GetControlState(Enabled, Pressed, Hot :
Boolean
) : TThemedButton; Virtual; Abstract;
Function
GetChecked :
Boolean
;
Procedure
SetChecked(Value :
Boolean
);
Procedure
ReDrawCaption(AColor, AFontColor : TColor);
Function
GetPartId :
Integer
;
Function
GetStateBase : TThemedButton;
Function
GetAlphaImage : TAlphaImage;
Function
GetFrameCtrlStateFlags :
Integer
;
TXPComboBox
TXPComboBox
is a variation of the TComboBox
component and provides these specific methods:
Function
GetPopupItemWidth(Index :
Integer
) :
Integer
;
Function
UserCanOpenDropDown :
Boolean
;
In addition, TXPComboBox
inherits methods from TCustomControl
and the following descending classes:
Procedure
UpdateSmoothDraw;
Function
GetModified :
Boolean
;
Function
CalcInternalHeight :
Integer
;
Procedure
ChangeHotFont(IsHot :
Boolean
);
Procedure
ClearSelection;
Procedure
CopyToClipboard;
Procedure
CutToClipboard;
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
SetCaretPos(Value :
Integer
);
Procedure
SetText (
Const
Value : TCaption);
Procedure
SetTransparent(
Const
Value :
Boolean
);
Procedure
CtrlEnterClick;
Procedure
DoAdjustClientRect(
Var
Rect : TRect);
Function
GetButtonDetails(AButton : TXPEditButton) : TThemedElementDetails;
Function
GetButtonVisible(AButton : TXPEditButton; AVisible :
Boolean
) :
Boolean
;
Function
GetGlyph(AButton : TXPEditButton) : TGraphic;
Procedure
PaintButton(AButton : TXPEditButton);
Procedure
PaintGlyph(AButton : TXPEditButton;
Const
ARect : TRect);
Procedure
SetButtonVisibility;
TXPDirectoryEdit
TXPDirectoryEdit
is a variation of the TEdit
component. It inherits methods from TCustomControl
and the following descending classes:
Procedure
UpdateSmoothDraw;
Function
GetModified :
Boolean
;
Function
CalcInternalHeight :
Integer
;
Procedure
ChangeHotFont(IsHot :
Boolean
);
Procedure
ClearSelection;
Procedure
CopyToClipboard;
Procedure
CutToClipboard;
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
SetCaretPos(Value :
Integer
);
Procedure
SetText (
Const
Value : TCaption);
Procedure
SetTransparent(
Const
Value :
Boolean
);
Procedure
CtrlEnterClick;
Procedure
DoAdjustClientRect(
Var
Rect : TRect);
Function
GetButtonDetails(AButton : TXPEditButton) : TThemedElementDetails;
Function
GetButtonVisible(AButton : TXPEditButton; AVisible :
Boolean
) :
Boolean
;
Function
GetGlyph(AButton : TXPEditButton) : TGraphic;
Procedure
PaintButton(AButton : TXPEditButton);
Procedure
PaintGlyph(AButton : TXPEditButton;
Const
ARect : TRect);
Procedure
SetButtonVisibility;
TXPEdit
TXPEdit
is a variation of the TEdit
component and provides these specific methods:
Function
CalcInternalHeight :
Integer
;
Procedure
ChangeHotFont(IsHot :
Boolean
);
Procedure
ClearSelection;
Procedure
CopyToClipboard;
Procedure
CutToClipboard;
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
SetCaretPos(Value :
Integer
);
Procedure
SetText (
Const
Value : TCaption);
Procedure
SetTransparent(
Const
Value :
Boolean
);
In addition, TXPEdit
inherits methods from TCustomControl
and the following descending class:
Procedure
UpdateSmoothDraw;
Function
GetModified :
Boolean
;
TXPExtPanel
TXPExtPanel
is a custom version (Extra) of the TPanel
component and provides these specific methods:
Function
GetDrawingMode : TXPDrawingMode;
Function
UseRegion :
Boolean
;
Function
DoCreateRegion : HRGN;
In addition, TXPExtPanel
inherits methods from TCustomControl
and the following descending class:
Procedure
UpdateSmoothDraw;
Function
GetModified :
Boolean
;
TXPFileNameEdit
TXPFileNameEdit
is a variation of the TEdit
component. It inherits methods from TCustomControl
and the following descending classes:
Procedure
UpdateSmoothDraw;
Function
GetModified :
Boolean
;
Function
CalcInternalHeight :
Integer
;
Procedure
ChangeHotFont(IsHot :
Boolean
);
Procedure
ClearSelection;
Procedure
CopyToClipboard;
Procedure
CutToClipboard;
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
SetCaretPos(Value :
Integer
);
Procedure
SetText (
Const
Value : TCaption);
Procedure
SetTransparent(
Const
Value :
Boolean
);
Procedure
CtrlEnterClick;
Procedure
DoAdjustClientRect(
Var
Rect : TRect);
Function
GetButtonDetails(AButton : TXPEditButton) : TThemedElementDetails;
Function
GetButtonVisible(AButton : TXPEditButton; AVisible :
Boolean
) :
Boolean
;
Function
GetGlyph(AButton : TXPEditButton) : TGraphic;
Procedure
PaintButton(AButton : TXPEditButton);
Procedure
PaintGlyph(AButton : TXPEditButton;
Const
ARect : TRect);
Procedure
SetButtonVisibility;
TXPGroupBox
TXPGroupBox
is a variation of the TGroupBox
component. It inherits methods from TCustomControl
and the following descending class:
Procedure
UpdateSmoothDraw;
Function
GetModified :
Boolean
;
TXPHistoryEdit
TXPHistoryEdit
is a variation of the TEdit
component and provides these specific methods:
Procedure
HistoryChanged;
In addtion, TXPHistoryEdit
inherits methods from TCustomControl
and the following descending classes:
Procedure
UpdateSmoothDraw;
Function
GetModified :
Boolean
;
Function
CalcInternalHeight :
Integer
;
Procedure
ChangeHotFont(IsHot :
Boolean
);
Procedure
ClearSelection;
Procedure
CopyToClipboard;
Procedure
CutToClipboard;
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
SetCaretPos(Value :
Integer
);
Procedure
SetText (
Const
Value : TCaption);
Procedure
SetTransparent(
Const
Value :
Boolean
);
Procedure
CtrlEnterClick;
Procedure
DoAdjustClientRect(
Var
Rect : TRect);
Function
GetButtonDetails(AButton : TXPEditButton) : TThemedElementDetails;
Function
GetButtonVisible(AButton : TXPEditButton; AVisible :
Boolean
) :
Boolean
;
Function
GetGlyph(AButton : TXPEditButton) : TGraphic;
Procedure
PaintButton(AButton : TXPEditButton);
Procedure
PaintGlyph(AButton : TXPEditButton;
Const
ARect : TRect);
Procedure
SetButtonVisibility;
Function
GetPopupItemWidth(Index :
Integer
) :
Integer
;
Function
UserCanOpenDropDown :
Boolean
;
TXPImageList
TXPImageList
is a variation of the TImageList
component and inherits its methods from the standard TImageList
class.
TXPSpinnerImage
TXPSpinnerImage
is a variation of the TImage
component and provides these specific methods:
Class
Procedure
LoadSpinnerPicture (APicture : TPicture);
Class
Function
CreateGraphic : TGraphic;
In addtion, TXPSpinnerImage
inherits methods from the standard TImage
class:
TXPLabel
TXPLabel
is a variation of the TLabel
component and inherits its methods from the TCustomLabel
class.
TXPListBox
TXPListBox
is a variation of the TList
component and provides these specific methods:
Function
GetTextShift :
Integer
;
Function
GetBackColor : TColor;
Function
GetPrevItemIndex :
Integer
;
Function
GetNextItemIndex :
Integer
;
Procedure
SelectionChanged;
Procedure
NCCalcSize(
Var
Msg : TWMNCCalcSize);
Function
NCPaint :
Boolean
;
Procedure
UpdateItemsAreaWidth;
Procedure
CorrectPopupItemHeight(
Var
Value :
Integer
);
Procedure
DoDrawEmptySpace;
Procedure
DoDrawCheck (Index :
Integer
);
Procedure
DoDrawItem (Index :
Integer
);
Procedure
DoOwnerDrawItem(Index :
Integer
);
Procedure
DoDrawItemText (Index :
Integer
;
Const
ARect : TRect);
Function
GetItemsClientRect : TRect;
Function
GetThemeCheckSize(
Var
ARect : TRect; AState : TThemedButton) : TSize;
Function
GetItemTextWidth(Index :
Integer
) :
Integer
;
Function
GetItemTextHeight :
Integer
;
Procedure
ClearSelection;
Function
ItemAtPos(Pos : TPoint; Existing :
Boolean
) :
Integer
;
Function
ItemRect(Index :
Integer
) : TRect;
In addtion, TXPListBox
inherits methods from TCustomControl
and the following descending class:
Procedure
UpdateSmoothDraw;
Function
GetModified :
Boolean
;
TXPProgressBar
TXPProgressBar
is a variation of the TProgressBar
component and provides these specific methods:
Procedure
StepBy(Delta :
Integer
);
In addtion, TXPProgressBar
inherits methods from TCustomControl
and the following descending class:
Procedure
UpdateSmoothDraw;
Function
GetModified :
Boolean
;
TXPRadioButton
TXPRadioButton
is a variation of the TRadioButton
component. It inherits methods from TCustomControl
and the following descending classes:
Procedure
UpdateSmoothDraw;
Function
GetModified :
Boolean
;
TWinXPCustomButtonControl:
Procedure
CompulsoryClick;
Procedure
ButtonMouseDown(X, Y :
Integer
);
Procedure
ButtonMouseMove(X, Y :
Integer
);
Procedure
ButtonMouseUp (X, Y :
Integer
);
Function
GetControlState(Enabled, Pressed, Hot :
Boolean
) : TThemedButton; Virtual; Abstract;
Function
GetChecked :
Boolean
;
Procedure
SetChecked(Value :
Boolean
);
Procedure
ReDrawCaption(AColor, AFontColor : TColor);
Function
GetPartId :
Integer
;
Function
GetStateBase : TThemedButton;
Function
GetAlphaImage : TAlphaImage;
Function
GetFrameCtrlStateFlags :
Integer
;
TXPRadioGroup
TXPRadioGroup
is a variation of the TRadioGroup
component. It inherits methods from TCustomControl
and the following descending class:
Procedure
UpdateSmoothDraw;
Function
GetModified :
Boolean
;
TXPScrollbar
TXPScrollBar
is a variation of the TScrollBar
component and provides these specific methods:
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
);
In addtion, TXPScrollBar
inherits methods from TCustomControl
and the following descending class:
Procedure
UpdateSmoothDraw;
Function
GetModified :
Boolean
;
TXPSpeedButton
TXPSpeedButton
is a variation of the TSpeedButton
component and provides these specific methods:
TXPBaseCustomSpeedButton:
Function
GetShiftContentIfPressed :
Boolean
;
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
GlyphChanged (Sender : TObject);
Procedure
GetGlyphInfo (Out GlyphToDraw : TGraphic; Out NumGlyphsToDraw :
Integer
);
Function
GetImageState :
Integer
;
In addition, TXPSpeedButton
inherits methods from TCustomControl
and the following descending classes:
Procedure
UpdateSmoothDraw;
Function
GetModified :
Boolean
;
TXPCustomTransparentControl:
Procedure
TransparentChanged;
TXPSpinEdit
TXPSpinEdit
is a variation of the TEdit
component and provides these specific methods:
Procedure
InternalCheckAndSetValue;
Procedure
InternalIncrementValue;
Procedure
InternalDecrementValue;
Function
IsValidChar(Key :
Char
) :
Boolean
;
Procedure
SetButtonVisibility;
Function
GetAutoWidth :
Integer
;
In addition, TXPSpinEdit
inherits methods from TCustomControl
and the following descending classes:
Procedure
UpdateSmoothDraw;
Function
GetModified :
Boolean
;
Function
CalcInternalHeight :
Integer
;
Procedure
ChangeHotFont(IsHot :
Boolean
);
Procedure
ClearSelection;
Procedure
CopyToClipboard;
Procedure
CutToClipboard;
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
SetCaretPos(Value :
Integer
);
Procedure
SetText (
Const
Value : TCaption);
Procedure
SetTransparent(
Const
Value :
Boolean
);
TXPSplitButton
TXPSplitButton
is a variation of the TButton
component that offers a pop-up menu capability and provides these specific methods:
Procedure
AfterHidePopup;
Procedure
BeforeShowPopup;
In addtion, TXPSplitButton
inherits methods from TCustomControl
and the following descending classes:
Procedure
UpdateSmoothDraw;
Function
GetModified :
Boolean
;
TWinXPCustomButtonControl:
Procedure
CompulsoryClick;
Procedure
ButtonMouseDown(X, Y :
Integer
);
Procedure
ButtonMouseMove(X, Y :
Integer
);
Procedure
ButtonMouseUp (X, Y :
Integer
);
Function
GetControlState(Enabled, Pressed, Hot :
Boolean
) : TThemedButton; Virtual;
Function
GetShiftContentIfPressed :
Boolean
;
Procedure
ReDrawCaption(ARect : TRect; AFontColor : TColor);
Procedure
ReDrawInside (ARect : TRect; AFontColor : TColor);
TXPSplitter
TXPSplitter
is a variation of the TSplitter
component and inherits its methods from the standard TSplitter
class.
TXPTrackBar
TXPTrackBar
is a variation of the TTrackBar
component and provides these specific methods:
Function
GetTickColor : TColor;
Procedure
SetTick(Value :
Integer
);
In addtion, TXPTrackBar
inherits methods from TCustomControl
and the following descending class:
Procedure
UpdateSmoothDraw;
Function
GetModified :
Boolean
;
TXStatusBar
TXStatusBar
is a variation of the TStatusBar
component and inherits its methods from the standard TStatusBar
class.
Note that this component is called TX StatusBar
rather than TXP StatusBar
.