numberedit TacNumberEdit component
Hierarchy Properties Methods Events Controls with attached label
Return to Introduction  Previous page  Next page
Overview
The acNumberEdit component is the enchanced edit control control used for input of the numerical values in decimal, hexadecimal and binary format. The acNumberEdit can align the text by center or right edge control and able to have the button with bitmap image, at the right side of edit control. Also it contains the AttachedLabel structure which lets to operate with the label associated with the edit control and specify its behavior and position near the control.  
acnumbereditss  
tip Additionally, the acNumberEdit can automatically change the background color on disabled state (see ColorDisabled property) and supports custom cursor images for non-client area of edit control (see CursorBorder property).  

Additional and improved properties
Aligncontrols placement of edit control within its container or parent control;  
Alignmentcontrols horizontal placement of text within the edit control;  
AttachedLabelcontrols the behavior of the label attached to the control and its position;  
AutoSelectwhether the acEdit should automatically select the line when user moves to the edit control pressing the Tab key;  
Buttonsettings for custom button at the right edge of edit control;  
ColorDisabledbackground color of edit control at disabled state (when Enabled = False);  
CursorBordercursor image when mouse pointer passes the border of edit control;  
Kindselects the numerical format to edit the number or convert Value to the Text;  
MaxValuespecifies the maximum allowed value;  
Valuerepresents the integer value of text typed in the edit control.  

New events
OnButtonClickoccurs when user clicks the button at the right side of control;  
OnLabelClickoccurs when user clicks the label attached to the control;  
OnLabelDblClickoccurs when user double clicks the label attached to the control;  
OnMouseEnteroccurs when mouse pointer passes over the edit control;  
OnMouseLeaveoccurs when mouse pointer leaves the edit control.  

See also
acEdit and acIPEdit components.