CustomNumberBox¶
Qualified name: delphivcl.CustomNumberBox
- class CustomNumberBox¶
Bases:
CustomEditTCustomEdit is the base class from which all edit-box and memo controls are derived. Vcl.NumberBox.TCustomNumberBox inherits from Vcl.StdCtrls.TCustomEdit. All content below this line refers to Vcl.StdCtrls.TCustomEdit. TCustomEdit is the base class from which all edit-box and memo controls are derived. TCustomEdit encapsulates the behavior common to all components for editing text by introducing methods and properties that provide: Basic text editing functions such as selecting text, modifying selected text, and case conversions. Ability to respond to changes in the contents of the text. Access control of the text for making it read-only or introducing a password character to hide the actual value. Do not create instances of TCustomEdit. Use TCustomEdit as a base class when declaring control objects that permit the user to enter or modify text. Properties and methods of TCustomEdit provide basic behavior that descendant classes inherit as well as behavior that components can override to customize their behavior.
Methods
TWinControl.CanFocus() Indicates whether a control can receive focus.
TWinControl.SetFocus() Gives the input focus to the control.
Attributes
Embarcadero Technologies does not currently have any additional information.
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.
AlignmentDetermines how the text is aligned within the text edit control.
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.
CanUndoIndicates whether the edit control contains changes that can be backed out.
CanUndoSelTextWhen set to True, it allows you to call or invoke an Undo operation in order to undo a change previously made by using SetSelText or SetSelTextBuf.
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
Embarcadero Technologies does not currently have any additional information.
Embarcadero Technologies does not currently have any additional information.
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.
Embarcadero Technologies does not currently have any additional information.
DesignInfoContains information used by the Form designer.
Embarcadero Technologies does not currently have any additional information.
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.
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.
IsDrawingLockedIsDrawingLocked property returns True when redrawing for this control is locked.
LRDockWidthSpecifies the width of the control when it is docked horizontally.
Embarcadero Technologies does not currently have any additional information.
LeftSpecifies the horizontal coordinate of the left edge of a component relative to its parent.
MarginsSpecifies the margins of the control.
Embarcadero Technologies does not currently have any additional information.
Embarcadero Technologies does not currently have any additional information.
Embarcadero Technologies does not currently have any additional information.
ModifiedIndicates whether the user edited the text of the edit 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.
Embarcadero Technologies does not currently have any additional information.
ObserversIndicates the TObservers object added to the TComponent.
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.
ReadOnlyDetermines whether the user can change the text of the edit control.
RedrawDisabledRedrawDisabled property returns True when redrawing for this control is locked.
ScaleFactorEmbarcadero Technologies does not currently have any additional information.
SelLengthSpecifies the number of characters (bytes) that are selected.
Returns/sets the position of the cursor.
SelTextSpecifies the selected portion of the edit control's text.
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.
Embarcadero Technologies does not currently have any additional information.
Embarcadero Technologies does not currently have any additional information.
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.
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.
TextContains a text string associated with the control.
TextHintA hint or message to be displayed when the Text property is empty.
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.
Embarcadero Technologies does not currently have any additional information.
Embarcadero Technologies does not currently have any additional information.
Embarcadero Technologies does not currently have any additional information.
VCLComObjectRepresents information used internally by components that support COM.
Embarcadero Technologies does not currently have any additional information.
Embarcadero Technologies does not currently have any additional information.
Embarcadero Technologies does not currently have any additional information.
Embarcadero Technologies does not currently have any additional information.
int:
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.
Embarcadero Technologies does not currently have any additional information.
- AcceptExpressions¶
Embarcadero Technologies does not currently have any additional information.
- Type:
bool
- CanFocus()¶
Indicates whether a control can receive focus.
- ControlCount¶
Returns the count of contained controls
- Controls¶
Returns an iterator over contained controls
- CurrencyFormat¶
Embarcadero Technologies does not currently have any additional information.
- Type:
NumberBoxCurrencyFormat
- CurrencyString¶
Embarcadero Technologies does not currently have any additional information.
- Type:
str
- Decimal¶
Embarcadero Technologies does not currently have any additional information.
- Type:
int
- DisplayFormat¶
Embarcadero Technologies does not currently have any additional information.
- Type:
str
- 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.
- LargeStep¶
Embarcadero Technologies does not currently have any additional information.
- Type:
float
- MaxValue¶
Embarcadero Technologies does not currently have any additional information.
- Type:
float
- MinValue¶
Embarcadero Technologies does not currently have any additional information.
- Type:
float
- Mode¶
Embarcadero Technologies does not currently have any additional information.
- Type:
NumberBoxMode
- NegativeValueColor¶
Embarcadero Technologies does not currently have any additional information.
- Type:
int
- ParentWindow¶
Reference to parent’s underlying control.
- SelStart¶
Returns/sets the position of the cursor.
- SetFocus()¶
Gives the input focus to the control.
- Showing¶
Indicates whether the control is showing on the screen.
- SmallStep¶
Embarcadero Technologies does not currently have any additional information.
- Type:
float
- SpinButtonOptions¶
Embarcadero Technologies does not currently have any additional information.
- Type:
NumberBoxSpinButtonOptions
- UseMouseWheel¶
Embarcadero Technologies does not currently have any additional information.
- Type:
bool
- UseNaNValue¶
Embarcadero Technologies does not currently have any additional information.
- Type:
bool
- UseUpDownKeys¶
Embarcadero Technologies does not currently have any additional information.
- Type:
bool
- Value¶
Embarcadero Technologies does not currently have any additional information.
- Type:
float
- ValueCurrency¶
Embarcadero Technologies does not currently have any additional information.
- Type:
float
- ValueFloat¶
Embarcadero Technologies does not currently have any additional information.
- Type:
float
- ValueInt¶
Embarcadero Technologies does not currently have any additional information.
- Type:
int
- ValueInt64¶
int:
- Wrap¶
Embarcadero Technologies does not currently have any additional information.
- Type:
bool