{**************************************************}
{                                                  }
{                   TGrEdit 0.1                    }
{                                                  }
{            Copyright (c) 1999 GrMikeD            }
{                                                  }
{**************************************************}


{---------------------------------------------------
 STATE: Freeware
        No restrictions,
        No guaranties
        Use it at your own risk!
----------------------------------------------------}


{----------------------------------------------------------------------------------------
                                     HISTORY
-----------------------------------------------------------------------------------------
 Version   Date          Changes - Additions                                   Added by
-----------------------------------------------------------------------------------------

 0.1      23.08.1999    Initial Version                                    

-----------------------------------------------------------------------------------------}


TGrEdit is an Ancestor of the TEdit component and contains some more fanctionability
concerning the format of the text.Specifically there are the following additions to
the stabdard TEdit abilities :

Published Variables
-------------------

GrTextType: Defines whether the text should contain ONLY letters or numbers or both.
          When the 'illegal' characters are keypressed, they are not echoed in the
          edit txt.

GrOnlyPositive: When the TextType is set to Numbers, it defines whether they are alowed
              only the positive numbers or not

GrIncDecSeparator: When the TextType is set to Numbers, it defines whether it is allowed the
                 decimal separator
 
GrMessage: When a user presses an 'illegal' character,an error message is displayed with this
         string.If it is blank string, nohing happens

GrBeep:  When a user presses an 'illegal' character,you hear the standard beep sound.

Public Variables
----------------

HasValidNumber: Defines whether the Text of the Edit control holds a valid number or not

RealValue:  When HasValidNumber=true it returns the floating point variable

Events
------

OnGrError: It is a TNotifyEvent raised every time an 'illegal' character is typed in the 
           Edit box


----------------------------------------------------------------------------
----------------------------------------------------------------------------

Feel free to visit my homepage where I have put more Delphi Components and Applications
with Source Codes.I would appreciate it if you sent me an e-mail for comments and suggestions.

Homepage : http://students.ceid.upatras.gr/~miatidis
E-Mail   : GrMikeD@usa.net


P.S. : Greetings from Greece !


GrMikeD - CEID - 1999