TRsEdit

Created by Jeff Hiscock

Created on 03/09/00 9:52 PM

  1. Purpose
  2. Base class for TRsIntEdit and TRsFloatEdit. Edit boxes for numeric entry

  3. Inheritance
  4. TEdit

  5. Properties
    1. Public
    2. There are no public properties.

    3. Published
    Name Data Type Notes
    MaxValue Int The maximum value that can be entered. If both max and minimum are zero there are ignored.
    MinValue Int The minimum value that can be entered
    CheckOnExit Bool If true, On Exit from the component. The value is validated against the maximum and minimum values. Will also change the value to the maximum or minimum value.
  6. Methods
    1. Public

    There are no public methods.

     

  7. Events
  8. Declaration Notes
    Classes::TNotifyEvent OnConvertError Should not occur. But might if someone copies and pastes text.
    Classes::TNotifyEvent OnOverMax Event when value is over the MaxValue property
    Classes::TNotifyEvent OnBelowMin Event when value is below the MinValue property
  9. Notes

 

 

TRsFloatEdit

Created by Jeff Hiscock

Created on 03/09/00 9:53 PM

 

  1. Purpose
  2. An edit component that will only allow for real number values to be entered.

  3. Inheritance
  4. TRsEdit

  5. Properties
    1. Public
    2. Name Data Type Notes
      FloatValue Double The value entered in the text box
    3. Published
    Name Data Type Notes
    FormatString String The format for the real number i.e. 0.00 same as FormatFloat. Do not use non-numeric values, as this will cause the validation to fail.

    I.e. "$0.00"

    FormatOnExit bool If true the value is formatted as per the FormatString when the control loses focus.
  6. Methods
    1. Public

    There are no new public methods.

  7. Events
  8. There are no new events.

  9. Notes

Please see TRsEdit for inherited properties and Methods.

 

 

 

TRsIntEdit

Created by Jeff Hiscock

Created on 03/09/00 9:54 PM

 

  1. Purpose
  2. An edit component that will only allow for integer values to be entered.

  3. Inheritance
  4. TRsEdit

  5. Properties
    1. Public
    2. Name Data Type Notes
      IntValue Int The value entered in the text box
    3. Published

    There are no new published properties.

  6. Methods
    1. Public

    There are no new public methods.

  7. Events
  8. There are no new events.

  9. Notes

Please see TRsEdit for inherited properties and Methods.

 

Download Edit components and documentation