Unit RZNEdit |
-------------------------------------------------------------------------- RZNEdit, a component with edit controls for real numbers -> TRealEdit integers -> TIntegerEdit and positive integers -> TCardinalEdit Version 1.1 This is my version of a numeric input component. It comes with three types, each handling its special input range ( real, integer and cardinal ). All input is watched, a TIntegerEdit accepts only characters in the set [-,0,1,..,9] for instance. The clipboard is supported. An empty input is interpreted as 0. For TRealEdit and TIntegerEdit an input containing only a plus-sign or a minus-sign is also regarded as 0. Ancestor class is the TCustomEdit, new properties are: FormatString : is used in the FormatFloat-routine from Delphi MaxValue \ : determine the input boundaries, if Validate is True MinValue / Validate : determines if input is checked against boundaries Value : the result This is my adaption of several numerical input controls, which I found on the Delphi Super Page. I give credits to DaveH, Arnt Kern, Richard Vowles and Robert Vivrette. rk 08.02.96 Robert Kratz kratz@labs.polycnrs-gre.fr --------------------------------------------------------------------------
Classes |
TCardinalEdit - --------------------------------------------------------------------------
TIntegerEdit - --------------------------------------------------------------------------
TRealEdit - --------------------------------------------------------------------------
Functions |
Register - --------------------------------------------------------------------------
--------------------------------------------------------------------------
Types |
Constants |
Variables |
Functions |
--------------------------------------------------------------------------
Types |
Constants |
Variables |