FMX.Types.TBounds.Equals
Delphi
function Equals(Obj: TObject): Boolean; override;
C++
virtual bool __fastcall Equals(System::TObject* Obj);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FMX.Types.pas FMX.Types.hpp |
FMX.Types | TBounds |
Description
Checks whether the current instance and the Obj parameter are equal.
FMX.Types.TBounds.Equals inherits from System.TObject.Equals. All content below this line refers to System.TObject.Equals.
Checks whether the current instance and the Obj parameter are equal.
The function has one Obj parameter of the TObject type.
By default, the Equals method shows whether the addresses corresponding to the current object and the Obj object are identical. The method returns a boolean value that represents the equality between the two addresses.
Note: Equals is supposed to be overridden in user-derived classes, to provide consumer objects with an equality determining function.
For example, in the FMX.Types.TBounds class, Equals also returns True if the Rect properties of the current object and of the Obj object are equal. In the FMX.StdActns.TBaseValueRange class, Equals also returns True if all the properties of the current object and of the Obj object are equal.
See Also
- FMX.StdActns.TBaseValueRange.Equals
- FMX.StdActns.TBaseValueRange.Value
- FMX.StdActns.TBaseValueRange.Min
- FMX.StdActns.TBaseValueRange.Max
- FMX.StdActns.TBaseValueRange.ViewportSize
- FMX.StdActns.TBaseValueRange.Frequency
- FMX.Types.TBounds.Equals
- FMX.Types.TBounds.Rect
- System.TObject.ClassName
- System.TObject.ClassParent
- System.TObject.FieldAddress
- System.TObject.MethodAddress
- System.TObject.InstanceSize
- System.TObject.MethodName
- System.TObject.InheritsFrom