Altium Standard Scripting Controls
Tool Palette's Altium Standardタブは、Altium のテーマ(外観と操作感)を適用した標準タイプのコンポーネントで構成されています。多くの場合、カスタムメソッドや追加プロパティが利用できます。
スクリプト Form 上に配置した Altium Standard コンポーネントに関連する Properties と Events を確認するには、Object Inspector パネル(View » Panels » Object Inspector)の Properties または Events タブを使用します。
Altium Standard コンポーネントの特定の Method(または Property)を探すには、コード補完機能を使用します(Script Editor Tools を参照)。たとえば、TXPCheckBox.get と入力すると、コード補完ウィンドウに TXPCheckBox コンポーネント向けに適切にフィルタされたメソッドおよびプロパティの一覧が表示されます。Ctrl+Space を使用すると、コード補完ウィンドウを手動で呼び出せます。

コンポーネントで利用可能な Methods または Properties を確認するには、コード補完(Ctrl+Space)機能を使用します。
継承
Altium Standard Control クラスの大半は、Delphi VCL の TCustomControl ベースクラスから Methods(および Properties と Events)を継承します。継承階層(下位方向)は通常、次のとおりです。
TCustomControl
TXPCustomControl
... Altium Standard controls
したがって、ここで扱う各 Altium Standard コントロールのメソッドは、各リファレンスに記載のとおり、標準の TCustomControl メソッドに対する addition です。
例として、TXPCheckBox コントロールの継承階層(下位方向)は次のとおりです。
| 継承パス | Methods |
|---|---|
TCustomControl |
対応する Delphi リファレンスを参照してください。 |
TXPCustomControl |
以下の TXPCheckBox エントリを参照してください。 |
TWinXPCustomButtonControl |
以下の TXPCheckBox エントリを参照してください。 |
TXPCheckControl |
以下の TXPCheckBox エントリを参照してください。 |
TXPCheckBox |
以下の TXPCheckBox エントリを参照してください。 |
「TCustomControl → TXPCustomControl → xxx」の継承パスの例外は、TXPLabel、TXPSpinnerImage、TXPImageList、TXPSplitter、TXStatusBar の各コントロールです。これらは、各項目(下記)に記載のとおり、標準コントロールから直接継承します。
コンポーネントのメソッド
一般に、Altium Standard コンポーネントは、対応する一般的なコンポーネントの基本メソッドに加えて、複数の追加カスタムメソッドを提供します。たとえば、TXPCheckBox と一般的な TCheckBox コンポーネントはいずれも GetChecked 関数を提供しますが、GetAlphaImage 関数は TXPCheckBox 専用です。
Altium Standard カテゴリの各コンポーネントで利用可能なメソッド情報へ移動するには、次の一覧を使用してください。
![]() |
TWinXPPageControl | TPageControl コンポーネント(Win32 Tab)に関連します。 |
| TWinXPTabControl | TTabControl コンポーネント(Win32 Tab)に関連します。 | |
| TXPBitBtn | TBitBtn コンポーネント(Additional Tab)に関連します。 | |
| TXPButton | TButton コンポーネント(Standard Tab)に関連します。 | |
| TXPButtonEdit | TEdit コンポーネント(Standard Tab)に関連します。 | |
| TXPButtonEx | TButton コンポーネント(Standard Tab)に関連します。 | |
| TXPCheckBox | TCheckBox コンポーネント(Standard Tab)に関連します。 | |
| TXPComboBox | TComboBox コンポーネント(Standard Tab)に関連します。 | |
| TXPDirectoryEdit | TEdit コンポーネント(Standard Tab)に関連します。 | |
| TXPEdit | TEdit コンポーネント(Standard Tab)に関連します。 | |
| TXPExtPanel | TPanel コンポーネント(Standard Tab)に関連します。 | |
| TXPFileNameEdit | TEdit コンポーネント(Standard Tab)に関連します。 | |
| TXPGroupBox | TGroupBox コンポーネント(Standard Tab)に関連します。 | |
| TXPHistoryEdit | TEdit コンポーネント(Standard Tab)に関連します。 | |
| TXPImageList | TImageList コンポーネント(Win32 Tab)に関連します。 | |
| TXPSpinnerImage | TImage コンポーネント(Additional Tab)に関連します。 | |
| TXPLabel | TLabel コンポーネント(Standard Tab)に関連します。 | |
| TXPListBox | TListBox コンポーネント(Standard Tab)に関連します。 | |
| TXPProgressBar | TProgressBar コンポーネント(Win32 Tab)に関連します。 | |
| TXPRadioButton | TRadioButton コンポーネント(Standard Tab)に関連します。 | |
| TXPRadioGroup | TRadioGroup コンポーネント(Standard Tab)に関連します。 | |
| TXPScrollBar | TScrollbar コンポーネント(Standard Tab)に関連します。 | |
| TXPSpeedButton | TSpeedButton コンポーネント(Additional Tab)に関連します。 | |
| TXPSpinEdit | TEdit コンポーネント(Standard Tab)に関連します。 | |
| TXPSplitButton | TButton コンポーネント(Standard Tab)に関連します。 | |
| TXPSplitter | TSplitter コンポーネント(Additional Tab)に関連します。 | |
| TXPTrackBar | TTrackbar コンポーネント(Win32 Tab)に関連します。 | |
| TXStatusBar | TStatusBar コンポーネント(Win32 Tab)に関連します。 |
TWinXPPageControl
TWinXPPageControl は TPageControl コンポーネントのバリエーションで、次の固有メソッドを提供します。
TWinXPPageControl:
Procedure InsertPage(Page : TWinXPTabSheet);
Procedure InsertPageAt(Index : Integer; Page : TWinXPTabSheet);
Procedure RemovePage(Page : TWinXPTabSheet);
さらに、TWinXPPageControl は TCustomControl および次の下位クラスからメソッドを継承します。
TXPCustomControl:
Procedure UpdateSmoothDraw;
Function GetModified : Boolean;
Procedure ClearModified;
TWinXPCustomTabControl:
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 は TTabControl コンポーネントのバリエーションで、次の固有メソッドを提供します。
TWinXPCustomTabControl:
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 は TCustomControl および次の下位クラスからメソッドを継承します。
TXPCustomControl:
Procedure UpdateSmoothDraw;
Function GetModified : Boolean;
Procedure ClearModified;
TXPBitBtn
TXPBitBtn は TBitBtn コンポーネントのバリエーションです。TCustomControl および次の下位クラスからメソッドを継承します。
TXPCustomControl:
Procedure UpdateSmoothDraw;
Function GetModified : Boolean;
Procedure ClearModified;
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;
TWinXPCustomButton:
Function GetShiftContentIfPressed : Boolean;
Procedure ReDrawCaption(ARect : TRect; AFontColor : TColor);
Procedure ReDrawInside (ARect : TRect; AFontColor : TColor);
TXPButton
TXPButton は TButton コンポーネントのバリエーションです。TCustomControl および次の下位クラスからメソッドを継承します。
TXPCustomControl:
Procedure UpdateSmoothDraw;
Function GetModified : Boolean;
Procedure ClearModified;
TXPCustomButton:
Procedure DoMouseHover(State : TMouseState)
Procedure InternalPaint(ARect : TRect)
Procedure Prepaint(Var ARect : TRect)
TXPButtonEdit
TXPDirectoryEdit は TEdit コンポーネントのバリエーションです。TCustomControl および次の下位クラスからメソッドを継承します。
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;
TXPCustomButtonEdit:
Procedure ButtonClick;
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 は TButton コンポーネントのカスタム版(Extra)です。 TCustomControl および次の下位クラスからメソッドを継承します。
TXPCustomControl:
Procedure UpdateSmoothDraw;
Function GetModified : Boolean;
Procedure ClearModified;
TXPCustomButton:
Procedure DoMouseHover(State : TMouseState)
Procedure InternalPaint(ARect : TRect)
Procedure Prepaint(Var ARect : TRect)
TXPCheckBox
TXPCheckBox は TCheckBox コンポーネントのバリエーションです。TCustomControl および次の下位クラスからメソッドを継承します。
TXPCustomControl:
Procedure UpdateSmoothDraw;
Function GetModified : Boolean;
Procedure ClearModified;
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;
TXPCheckControl:
Function GetChecked : Boolean;
Procedure SetChecked(Value : Boolean);
Procedure ReDrawCaption(AColor, AFontColor : TColor);
Procedure Toggle;
Function GetPartId : Integer;
Function GetStateBase : TThemedButton;
Function GetAlphaImage : TAlphaImage;
Function GetFrameCtrlStateFlags : Integer;
TXPComboBox
TXPComboBox は TComboBox コンポーネントのバリエーションで、次の固有メソッドを提供します。
TXPCustomComboBox:
Procedure Button2Click;
Function GetPopupItemWidth(Index : Integer) : Integer;
Function UserCanOpenDropDown : Boolean;
Procedure CloseUp;
Procedure DropDown;
Procedure Select;
さらに、TXPComboBox は TCustomControl および次の下位クラスからメソッドを継承します。
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;
TXPCustomButtonEdit:
Procedure ButtonClick;
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 は TEdit コンポーネントのバリエーションです。TCustomControl および次の下位クラスからメソッドを継承します。
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;
TXPCustomButtonEdit:
Procedure ButtonClick;
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 は TEdit コンポーネントのバリエーションで、次の固有メソッドを提供します。
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;
さらに、TXPEdit は TCustomControl および次の下位クラスからメソッドを継承します。
TXPCustomControl:
Procedure UpdateSmoothDraw;
Function GetModified : Boolean;
Procedure ClearModified;
TXPExtPanel
TXPExtPanel は TPanel コンポーネントのカスタム版(Extra)で、次の固有メソッドを提供します。
TXPCustomExtPanel:
Function GetDrawingMode : TXPDrawingMode;
Function UseRegion : Boolean;
Function DoCreateRegion : HRGN;
Procedure BeginUpdate;
Procedure EndUpdate;
さらに、TXPExtPanel は TCustomControl および次の下位クラスからメソッドを継承します。
TXPCustomControl:
Procedure UpdateSmoothDraw;
Function GetModified : Boolean;
Procedure ClearModified;
TXPFileNameEdit
TXPFileNameEdit は TEdit コンポーネントのバリエーションです。TCustomControl および次の下位クラスからメソッドを継承します。
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;
TXPCustomButtonEdit:
Procedure ButtonClick;
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 は TGroupBox コンポーネントのバリエーションです。TCustomControl および次の下位クラスからメソッドを継承します。
TXPCustomControl:
Procedure UpdateSmoothDraw;
Function GetModified : Boolean;
Procedure ClearModified;
TXPHistoryEdit
TXPHistoryEdit は TEdit コンポーネントのバリエーションで、次の固有メソッドを提供します。
TXPHistoryEdit:
Procedure HistoryChanged;
Procedure SaveHistory;
Procedure LoadHistory;
Procedure EmptyHistory;
さらに、TXPHistoryEdit は TCustomControl および次の下位クラスからメソッドを継承します。
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;
TXPCustomButtonEdit:
Procedure ButtonClick;
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;
TXPCustomComboBox:
Procedure Button2Click;
Function GetPopupItemWidth(Index : Integer) : Integer;
Function UserCanOpenDropDown : Boolean;
Procedure CloseUp;
Procedure DropDown;
Procedure Select;
TXPImageList
TXPImageList は TImageList コンポーネントのバリエーションで、標準の TImageList クラスからメソッドを継承します。
TXPSpinnerImage
TXPSpinnerImage は TImage コンポーネントのバリエーションで、次の固有メソッドを提供します。
TXPSpinnerImage:
Class Procedure LoadSpinnerPicture (APicture : TPicture);
Class Function CreateGraphic : TGraphic;
さらに、TXPSpinnerImage は標準の TImage クラスからメソッドを継承します。
TXPLabel
TXPLabel は TLabel コンポーネントのバリエーションで、TCustomLabel クラスからメソッドを継承します。
TXPListBox
TXPListBox は TList コンポーネントのバリエーションで、次の固有メソッドを提供します。
TCustomXPListBox:
Procedure ClickCheck;
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 Clear;
Procedure ClearSelection;
Function ItemAtPos(Pos : TPoint; Existing : Boolean) : Integer;
Function ItemRect(Index : Integer) : TRect;
Procedure SelectAll;
さらに、TXPListBox は TCustomControl および次の下位クラスからメソッドを継承します。
TXPCustomControl:
Procedure UpdateSmoothDraw;
Function GetModified : Boolean;
Procedure ClearModified;
TXPProgressBar
TXPProgressBar は TProgressBar コンポーネントのバリエーションで、次の固有メソッドを提供します。
TXPProgressBar:
Procedure DoPostPaint;
Procedure StepIt;
Procedure StepBy(Delta : Integer);
さらに、TXPProgressBar は TCustomControl および次の下位クラスからメソッドを継承します。
TXPCustomControl:
Procedure UpdateSmoothDraw;
Function GetModified : Boolean;
Procedure ClearModified;
TXPRadioButton
TXPRadioButton は TRadioButton コンポーネントのバリエーションです。TCustomControl および次の下位クラスからメソッドを継承します。
TXPCustomControl:
Procedure UpdateSmoothDraw;
Function GetModified : Boolean;
Procedure ClearModified;
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;
TXPCheckControl:
Function GetChecked : Boolean;
Procedure SetChecked(Value : Boolean);
Procedure ReDrawCaption(AColor, AFontColor : TColor);
Procedure Toggle;
Function GetPartId : Integer;
Function GetStateBase : TThemedButton;
Function GetAlphaImage : TAlphaImage;
Function GetFrameCtrlStateFlags : Integer;
TXPRadioGroup
TXPRadioGroup は TRadioGroup コンポーネントのバリエーションです。TCustomControl および次の下位クラスからメソッドを継承します。
TXPCustomControl:
Procedure UpdateSmoothDraw;
Function GetModified : Boolean;
Procedure ClearModified;
TXPScrollbar
TXPScrollBar は TScrollBar コンポーネントのバリエーションで、次の固有メソッドを提供します。
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);
さらに、TXPScrollBar は TCustomControl および次の下位クラスからメソッドを継承します。
TXPCustomControl:
Procedure UpdateSmoothDraw;
Function GetModified : Boolean;
Procedure ClearModified;
TXPSpeedButton
TXPSpeedButton は TSpeedButton コンポーネントのバリエーションで、次の固有メソッドを提供します。
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;
さらに、TXPSpeedButton は TCustomControl および次の下位クラスからメソッドを継承します。
TXPCustomControl:
Procedure UpdateSmoothDraw;
Function GetModified : Boolean;
Procedure ClearModified;
TXPCustomTransparentControl:
Procedure TransparentChanged;
TXPSpinEdit
TXPSpinEdit は TEdit コンポーネントのバリエーションで、次の固有メソッドを提供します。
TBaseXPSpinEdit:
Procedure InternalCheckAndSetValue;
Procedure InternalIncrementValue;
Procedure InternalDecrementValue;
Function IsValidChar(Key : Char) : Boolean;
Procedure SetButtonVisibility;
Function GetAutoWidth : Integer;
さらに、TXPSpinEdit は TCustomControl および次の下位クラスからメソッドを継承します。
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;
TXPSplitButton
TXPSplitButton は、ポップアップメニュー機能を備えた TButton コンポーネントのバリエーションで、次の固有メソッドを提供します。
TXPSplitButton:
Procedure AfterHidePopup;
Procedure BeforeShowPopup;
さらに、TXPSplitButton は TCustomControl および次の下位クラスからメソッドを継承します。
TXPCustomControl:
Procedure UpdateSmoothDraw;
Function GetModified : Boolean;
Procedure ClearModified;
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;
TWinXPCustomButton:
Function GetShiftContentIfPressed : Boolean;
Procedure ReDrawCaption(ARect : TRect; AFontColor : TColor);
Procedure ReDrawInside (ARect : TRect; AFontColor : TColor);
TXPSplitter
TXPSplitter は TSplitter コンポーネントのバリエーションで、標準の TSplitter クラスからメソッドを継承します。
TXPTrackBar
TXPTrackBar は TTrackBar コンポーネントのバリエーションで、次の固有メソッドを提供します。
TXPTrackBar:
Procedure DoChange;
Procedure ClearTicks;
Function GetTickColor : TColor;
Procedure SetTick(Value : Integer);
さらに、TXPTrackBar は TCustomControl および次の下位クラスからメソッドを継承します。
TXPCustomControl:
Procedure UpdateSmoothDraw;
Function GetModified : Boolean;
Procedure ClearModified;
TXStatusBar
TXStatusBar は TStatusBar コンポーネントのバリエーションで、標準の TStatusBar クラスからメソッドを継承します。
