Class constructor.
LengthEdit (
const Panel & panel,
short item
);
Constructs the length edit control from resource.
LengthEdit (
const Panel & panel,
const Rect & rect,
ChangeFontType chgFont = ChangeFont,
FrameType frame = Frame,
AbsRelType absRel = Absolute,
UpdateType update = Update,
ReadOnlyType readOnly = Editable
);
Constructs the length edit control with the given parameters.
Parameters
- panel
-
A reference to the parent panel of the length edit control.
- item
-
The item ID of the length edit control.
- rect
-
A reference to the bounding rectangle of the length edit control.
- chgFont
-
The change font flag of the length edit control.
- frame
-
The frame type of the length edit control.
- absRel
-
The absolut/relativ numerical input flag of the length edit control.
- update
-
The update type of the length edit control.
- readOnly
-
The readonly/editable flag of the length edit control.