ActivityIndicator¶
Qualified name: delphivcl.ActivityIndicator
- class ActivityIndicator¶
Bases:
CustomActivityIndicatorAn animated rotating display indicating that the application is performing some activity. Create the activity indicator, set the color, size and type, and set the Animate property to True to start the animation. You can modify the speed of the animation with the FrameDelay property.
Methods
TControl.BringToFront() Puts the control in front of all other controls in its parent control.
TControl.ClientToScreen() Translates a given point from client area coordinates to global screen coordinates.
TControl.Hide() Hides the wrapped Control
TControl.Invalidate() Completely repaint control.
TControl.Repaint() Forces the control to repaint its image on the screen.
TControl.ScreenToClient() Converts the screen coordinates of a specified point on the screen to client coordinates.
TControl.SendToBack() Puts a windowed control behind all other windowed controls, or puts a non-windowed control behind all other non-windowed controls.
TControl.SetBounds(Left, Top, Width, Height) Sets the Left, Top, Width, and Height properties all at once.
TControl.Show() Shows the wrapped Control
TControl.Update() Processes any pending paint messages immediately.
Attributes
ActionSpecifies the action associated with the control.
Determines how the control aligns within its container (parent control).
AlignDisabledIndicates child control realignment disabled.
AlignWithMarginsSpecifies whether a control should be constrained by margins.
Specifies how the control is anchored to its parent.
Specifies whether the activity indicator is currently animated.
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.
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.
ControlCountReturns the count of contained controls
ControlStateSpecifies the current state of a control at run time.
ControlStyleDetermines style characteristics of the control.
ControlsReturns 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.
FocusedDetermines whether the control has input focus.
Specifies how fast the activity indicator displays its animation sequence.
HandleProvides access to the underlying Windows screen object for the control.
HandleAllocatedReports whether a screen object handle exists for the control.
HeightSpecifies 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.
The color of the activity indicator.
int:
The size of the activity indicator.
The type of the activity indicator.
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.
OwnerReturns the Component Owner
PaddingSpecifies the padding of a control.
Returns/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.
ParentWindowReference 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.
ShowingIndicates whether the control is showing on the screen.
Specifies the style elements that are used by the control.
Embarcadero Technologies does not currently have any additional information.
TBDockHeightSpecifies the height of the control when it is docked vertically.
TabOrderIndicates 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.
TimerTimer:
TopSpecifies the Y coordinate of the upper-left corner of a control, relative to its parent or containing control in pixels.
TouchSpecifies 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.
VisibleSpecifies whether the component appears onscreen.
VisibleDockClientCountSpecifies the number of visible controls that are docked on the windowed control.
WidthSpecifies the horizontal size of the control or form in pixels.
- Align¶
Determines how the control aligns within its container (parent control). Use Align to align a control to the top, bottom, left, or right of a form or panel and have it remain there even if the size of the form, panel, or component that contains the control changes. When the parent is resized, an aligned control also resizes so that it continues to span the top, bottom, left, or right edge of the parent. For example, to use a panel component with various controls on it as a tool palette, change the panel’s Align value to alLeft. The value of alLeft for the Align property of the panel guarantees that the tool palette remains on the left side of the form and always equals the client height of the form. The default value of Align is alNone, which means a control remains where it is positioned on a form or panel.
Tip: If Align is set to alClient, the control fills the entire client area so that it is impossible to select the parent form by clicking it. In this case, select the parent by selecting the control on the form and pressing ESC, or by using the Object Inspector. Any number of child components within a single parent can have the same Align value, in which case they stack up along the edge of the parent. The child controls stack up in z-order. To adjust the order in which the controls stack up, drag the controls into their desired positions.
Note: To cause a control to maintain a specified relationship with an edge of its parent, but not necessarily lie along one edge of the parent, use the Anchors property instead.
- Type:
Align
- Anchors¶
Specifies how the control is anchored to its parent. Use Anchors to ensure that a control maintains its current position relative to an edge of its parent, even if the parent is resized. When its parent is resized, the control holds its position relative to the edges to which it is anchored. If a control is anchored to opposite edges of its parent, the control stretches when its parent is resized. For example, if a control has its Anchors property set to [akLeft, akRight], the control stretches when the width of its parent changes. Anchors is enforced only when the parent is resized. Thus, for example, if a control is anchored to opposite edges of a form at design time and the form is created in a maximized state, the control is not stretched because the form is not resized after the control is created.
Note: If a control should maintain contact with three edges of its parent (hugging one side of the parent and stretching the length of that side), use the Align property instead. Unlike Anchors, Align allows controls to adjust to changes in the size of other aligned sibling controls as well as changes to the parent’s size.
- Type:
Anchors
- Animate¶
Specifies whether the activity indicator is currently animated. Default is False.
- Type:
bool
- BringToFront()¶
Puts the control in front of all other controls in its parent control.
- ClientToScreen()¶
Translates a given point from client area coordinates to global screen coordinates.
- FrameDelay¶
Specifies how fast the activity indicator displays its animation sequence. Set this property to a lower value to speed up the animation.
- Type:
int
- Hide()¶
Hides the wrapped Control
- IndicatorColor¶
The color of the activity indicator. Possible values are:
aicBlack: Default. The elements of the indicator are black. aicWhite: The elements of the indicator are white.
- Type:
ActivityIndicatorColor
- IndicatorCustomColor¶
int:
- IndicatorSize¶
The size of the activity indicator. Possible values are:
aisSmall: 24 x 24 pixels. aisMedium: Default. 32 x 32 pixels. aisLarge: 48 x 48 pixels. aisXLarge: 64 x 64 pixels.
- Type:
ActivityIndicatorSize
- IndicatorType¶
The type of the activity indicator. Possible values are:
aitMomentumDots : Default. Traditional Windows 8/10 rotating sequence of dots, accelerating and deccelerating in a circular pattern. aitRotatingSector : Alternating sectors of a segmented ring are highlighted in sequence to indicate activity. aitSectorRing : Sectors of a segmented ring are highlighted in sequence until the ring is completely highlighted. On the next pass, each sector is displayed in a dimmed state.
- Type:
ActivityIndicatorType
- Invalidate()¶
Completely repaint control.
- Parent¶
Returns/Sets the Control Parent
- Repaint()¶
Forces the control to repaint its image on the screen.
- ScreenToClient()¶
Converts the screen coordinates of a specified point on the screen to client coordinates.
- SendToBack()¶
Puts a windowed control behind all other windowed controls, or puts a non-windowed control behind all other non-windowed controls.
- SetBounds(Left, Top, Width, Height)¶
Sets the Left, Top, Width, and Height properties all at once.
- Show()¶
Shows the wrapped Control
- StyleElements¶
Specifies the style elements that are used by the control. Use StyleElements to customize the style of the control. If a custom style is enabled, you can enable or disable style elements in the control. StyleElements is a set of values that specify which elements of the current style are to be applied to this control. By default, all the elements of the style are enabled.
- Type:
StyleElements
- StyleName¶
Embarcadero Technologies does not currently have any additional information.
- Type:
str
- Update()¶
Processes any pending paint messages immediately.