{ *************************************************************************** }
{                                                                             }
{ VCL component TEditBoxConv                                                  }
{                                                                             }
{ This edit box automatically converts its text property to a float           }
{ variable which is then assigned to the published property                   }
{ ValidatedEntry.                                                             }
{                                                                             }
{ If the conversion fails, the ConversionError property is set to true so     }
{ that this condition can be flagged to the parsing code in your application  }
{                                                                             }
{ You can also set a conversion number range by assigning values to           }
{ RangeMax and RangeMin.  When the user enters a text value in the            }
{ component that falls outside this number range, an optional messagebox      }
{ is displayed; you can use the ShowErrorMessage and ErrorMessage properties  }
{ to control this functionality.  If you set ShowErrorMessage to true but     }
{ leave ErrorMessage blank, the following default error message is            }
{ displayed: 'The [Component Name] value is out of range.'                    }
{                                                                             }
{ In all cases where the number conversion fails, the previous good value     }
{ is re-assigned to the text property and the cursor is placed in its         }
{ previous position.  This causes the handler to run again and so             }
{ ValidatedEntry will also be updated with the last good value.               }
{                                                                             }
{ NB. NUMBER CONVERSION RANGE CHECKING AND REINSTATEMENT OF PREVIOUS          }
{ VALUES WHEN ERRORS OCCUR IS ONLY DONE FOR USER INPUT IE. WHEN THE           }
{ TEDITCONV CONTROL HAS FOCUS.  IF A TEXT VALUE IS ASSIGNED IN CODE           }
{ RATHER THAN BY THE USER, THE STRTOFLOAT CONVERSION PROCEEDS WITHOUT         }
{ COMPLETING THESE CHECKS [SEE THE LAST ELSE CLAUSE OF THE ONCHANGE           }
{ HANDLER]                                                                    }
{                                                                             }
{                                                                             }
{ Code generated by Component Create for Delphi                               }
{                                                                             }
{ Generated from source file:                                                 }
{ h:\borland\componentcreate\mycomponents\myconveditbox.cd                    }
{ on 16 April 2000 at 16:37                                                   }
{                                                                             }
{ Copyright  2000 by ...SG Walker Syberad                                    }
{ email: syberad@rpa.org.uk                                                   }
{        syberad@msn.com                                                      }
{                                                                             }
{ *************************************************************************** }