A text editing box that only allows numbers to be entered.
![]() | PNumberEditBox ( PInteractor * parent ) Create a new number edit box. |
![]() | PNumberEditBox ( PInteractorLayout * parent, PRESOURCE_ID ctlID, const PNotifier & notify, void * valuePtr ) Create control from interactor layout with the specified control ID. |
![]() | ~PNumberEditBox () Destroy the number edit box and its nudge buttons. |
![]() | AddNudge () Add the nudge value to the edit box value. |
![]() | SubtractNudge () Subtract the nudge value to the edit box value. |
![]() | New functions for class |
PNotifier codes
Overrides from class PInteractor
Overrides from class PControl
Member variables
Overrides from class PObject
System callback functions.
A text editing box that only allows numbers to be entered. This usually will have next to the editable text box two "nudge buttons" which allow the value of the number edit box to incremented or decremented by a preset amount.This is an abstract class for any form of numeric input. There are two main descendents with PWLib: PIntegerEditBox and PFloatEditBox classes for editing integers and floating point numbers respectively.
PNumberEditBox( PInteractorLayout * parent, PRESOURCE_ID ctlID, const PNotifier & notify, void * valuePtr )
ctlID - Identifier for the control in the layout.
notify - Function to call when changes state.
valuePtr - Variable to change to the editor value.virtual ~PNumberEditBox()
New functions for class
virtual void AddNudge()
virtual void SubtractNudge()
Alphabetic index HTML hierarchy of classes or Java