Page¶
Qualified name: delphivcl.Page
- class Page¶
Bases:
CustomControlSpecifies a page in a TNotebook control. The TPage class implements a page in a TNotebook control.
Methods
TWinControl.CanFocus() Indicates whether a control can receive focus.
TWinControl.SetFocus() Gives the input focus to the control.
Attributes
ActionSpecifies the action associated with the control.
AlignDetermines how the control aligns within its container (parent control).
AlignDisabledIndicates child control realignment disabled.
AlignWithMarginsSpecifies whether a control should be constrained by margins.
AnchorsSpecifies how the control is anchored to its parent.
BiDiModeSpecifies the bidirectional mode for the control.
BoundsRectSpecifies the bounding rectangle of the control, expressed in the coordinate system of the parent control.
BrushDetermines the color and pattern used for painting the background of the control.
Specifies a text string that identifies the control to the user.
ClassNameReturns the TObject.ClassName
ClientHeightSpecifies the height of the control's client area in pixels.
ClientOriginSpecifies the screen coordinates (in pixels) of the upper-left corner of a control's client area.
ClientRectSpecifies the size of a control's client area in pixels.
ClientWidthSpecifies the horizontal size of the control's client area in pixels.
ComObjectSpecifies the interface reference implemented by the component.
ComponentCountReturns the owned component count
ComponentIndexIndicates the position of the component in its owner's Components property array.
ComponentStateDescribes the current state of the component, indicating when a component needs to avoid certain actions.
ComponentStyleGoverns the behavior of the component.
ComponentsReturns an iterator over the owned components
ConstraintsSpecifies the size constraints for the control.
Returns the count of contained controls
ControlStateSpecifies the current state of a control at run time.
ControlStyleDetermines style characteristics of the control.
Returns an iterator over contained controls
CurrentPPIEmbarcadero Technologies does not currently have any additional information.
CursorSpecifies the image used to represent the mouse pointer when it passes into the region covered by the control.
CustomHintCustomHint is a custom hint for the control.
DesignInfoContains information used by the Form designer.
DockClientCountSpecifies the number of controls that are docked on the windowed control.
DockClientsControl:
DockManagerSpecifies the control's docking manager interface.
DockOrientationDockOrientation specifies how the control is docked relative to other controls docked in the same parent.
DockSiteSpecifies whether the control can be the target of drag-and-dock operations.
DoubleBufferedDetermines whether the control's image is rendered directly to the window or painted to an in-memory bitmap first.
DoubleBufferedModeDoubleBufferedMode:
EnabledControls whether the control responds to mouse, keyboard, and timer events.
ExplicitHeightSpecifies the explicit vertical size of the control in pixels.
ExplicitLeftSpecifies the explicit horizontal pixel coordinate of the left edge of a component relative to its parent.
ExplicitTopSpecifies the explicit vertical pixel coordinate of the top edge of a component relative to its parent.
ExplicitWidthSpecifies the explicit horizontal size of the control in pixels.
FloatingSpecifies whether the control is floating.
FloatingDockSiteClassSpecifies the class of the temporary control that hosts the control when it is floating.
Determines whether the control has input focus.
Provides access to the underlying Windows screen object for the control.
Reports whether a screen object handle exists for the control.
Specifies the vertical size of the control in pixels.
HelpContextThe HelpContext property contains the numeric context ID that identifies the Help topic for the control.
HelpKeywordThe HelpKeyword property contains the keyword string that identifies the Help topic for the control.
HelpTypeSpecifies whether the control's context-sensitive Help topic is identified by a context ID or by keyword.
HintHint contains the text string that appears when the user moves the mouse over the control.
HostDockSiteSpecifies the control in which the control is docked.
IsDrawingLockedIsDrawingLocked property returns True when redrawing for this control is locked.
LRDockWidthSpecifies the width of the control when it is docked horizontally.
LeftSpecifies the horizontal coordinate of the left edge of a component relative to its parent.
MarginsSpecifies the margins of the control.
MouseInClientIndicates whether the mouse pointer is currently in the client area of the control.
NameSpecifies the name of the component as referenced in code.
ObserversIndicates the TObservers object added to the TComponent.
Callable[[WinControl, Control, Control], bool]:
Callable[[WinControl, Control, int, int, int, int, Rect, AlignInfo], None]:
Callable[[Object, GestureEventInfo, bool], None]:
OwnerReturns the Component Owner
PaddingSpecifies the padding of a control.
ParentReturns/Sets the Control Parent
ParentCustomHintSpecifies where a control looks for its custom hint.
ParentDoubleBufferedParentDoubleBuffered defers the DoubleBuffered property of this component to the value of the parent's DoubleBuffered property.
Reference to parent's underlying control.
PixelsPerInchEmbarcadero Technologies does not currently have any additional information.
RedrawDisabledRedrawDisabled property returns True when redrawing for this control is locked.
ScaleFactorEmbarcadero Technologies does not currently have any additional information.
ShowHintShowHint specifies whether to show the Help Hint when the mouse pointer moves over the control.
Indicates whether the control is showing on the screen.
StyleElementsSpecifies the style elements that are used by the control.
StyleNameEmbarcadero Technologies does not currently have any additional information.
TBDockHeightSpecifies the height of the control when it is docked vertically.
Indicates the position of the control in its parent's tab order.
TabStopDetermines whether the user can tab to a control.
TagStores a NativeInt integral value as a part of a component.
TopSpecifies the Y coordinate of the upper-left corner of a control, relative to its parent or containing control in pixels.
Specifies the touch manager component associated with the control.
UndockHeightSpecifies the height of the control when it is floating.
UndockWidthSpecifies the width of the control when it is floating.
UseDockManagerSpecifies whether the docking manager is used in drag-and-dock operations.
VCLComObjectRepresents information used internally by components that support COM.
Specifies whether the component appears onscreen.
VisibleDockClientCountSpecifies the number of visible controls that are docked on the windowed control.
Specifies the horizontal size of the control or form in pixels.
- CanFocus()¶
Indicates whether a control can receive focus.
- Caption¶
Specifies a text string that identifies the control to the user. Use Caption to specify the text string that labels the control. To underline a character in a Caption that labels a component, include an ampersand (&) before the character. This type of character is called an accelerator character. The user can then select the component by pressing ALT while typing the underlined character. To display an ampersand character in the caption, use two ampersands (&&).
Notes: Controls that display text use either the Caption property or the Text property to specify the text value. The property that is used depends on the type of control. In general, Caption is used for text that appears as a window title or label, while Text is used for text that appears as the content of a control. For some controls, such as TButton, it is not possible to change the color of the Caption. If you want to change the color of a button caption, you should use an alternate button type such as TSpeedButton or TBitBtn instead of TButton. With either TSpeedButton or TBitBtn, you can change the color of the Caption property by using the Font property. For TLinkLabel, an HTML tag is declared inside the Caption property either at run time or at design time.
- Type:
str
- ControlCount¶
Returns the count of contained controls
- Controls¶
Returns an iterator over contained controls
- Focused¶
Determines whether the control has input focus.
- Handle¶
Provides access to the underlying Windows screen object for the control.
- HandleAllocated¶
Reports whether a screen object handle exists for the control.
- Height¶
Specifies the vertical size of the control in pixels. Use the Height property to read or change the height of the control.
- Type:
int
- OnAlignInsertBefore¶
Callable[[WinControl, Control, Control], bool]:
- OnAlignPosition¶
Callable[[WinControl, Control, int, int, int, int, Rect, AlignInfo], None]:
- OnGesture¶
Callable[[Object, GestureEventInfo, bool], None]:
- ParentWindow¶
Reference to parent’s underlying control.
- SetFocus()¶
Gives the input focus to the control.
- Showing¶
Indicates whether the control is showing on the screen.
- TabOrder¶
Indicates the position of the control in its parent’s tab order. TabOrder is the order in which child windows are visited when the user presses the Tab key. The control with the TabOrder value of 0 is the control that has the focus when the form first appears. Initially, the tab order is always the order in which the controls were added to the form. The first control added to the form has a TabOrder value of 0, the second is 1, the third is 2, and so on. Change this by changing the TabOrder property. Each control has a unique tab-order value within its parent. If you change the TabOrder property value of one control to be the same as the value of a second control, the TabOrder value for all the other controls changes. For example, suppose a control is sixth in the tab order. If you change the control’s TabOrder property value to 3 (making the control fourth in the tab order), the control that was originally fourth in the tab order now becomes fifth, and the control that was fifth becomes sixth. Assigning TabOrder a value greater than the number of controls contained in the parent control moves the control to the end of the tab order. The control does not take on the assigned value of TabOrder, but instead is given the number that assures the control is the last in the tab order.
Note: TabOrder is meaningful only if the TabStop property is True and if the control has a parent. (The TabOrder property of a form is not used unless the form is the child of another form.) A control with a TabOrder of -1 has no parent, and therefore cannot be reached by pressing the Tab key. To remove a parented control from the Tab order, set its TabStop property to False.
- Type:
int
- Touch¶
Specifies the touch manager component associated with the control. Use the Touch property to access gesturing options associated with a control. Touch specifies a class of type TTouchManager. Touch is used to:
Associate a TGestureManager. (TGestureManager manages all the gestures that can be used by the control.) Select the standard, interactive, or custom gestures to associate with the control. (You can also connect each gesture to an action; see Assigning Actions to Gestures.) Specify a set of options for interactive or tablet gestures.
- Type:
TouchManager
- Visible¶
Specifies whether the component appears onscreen. Use the Visible property to control the visibility of the control at run time. If Visible is True, the control appears. If Visible is False, the control is not visible. Calling the Show method sets the control’s Visible property to True. Calling the Hide method sets it to False. For TCustomForm descendants, the Show and ShowModal methods set Visible to True and bring the form to the front of all open windows. For TTabSheet descendants, Visible does not control the visibility of the control at run time. For more information, see the description of the TabVisible property.
- Type:
bool
- Width¶
Specifies the horizontal size of the control or form in pixels. Use the Width property to read or change the width of the control.
Note: For tab sheet controls, changing this property at run time has no effect.
- Type:
int