Mega Code Archive

 
Categories / Delphi / Examples
 

Avoid real properties

If you're creating a new component that requires a floating-point property, be sure not to define properties that use the Real data type, as in: // Don't: property Version: Real read fVersion write fVersion;