Site icon Python GUI

Understanding The Purpose of DelphiVCL.Application.Equals

Learn About DelphiVCLApplicationHelpContext In Python

In this post, we’ll use the Equals method or DelphiVCL.Application.Equals to check whether the current instance and the Obj parameter are equal. The function has one Obj parameter of the TObject type. Learning how to do it will allow you to easily build GUIs with Python Build Tools.

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 are 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.

Let’s browse all the properties, methods, and built-in properties of the DelphiVCL.Application.Equals using dir() command:

[crayon-66325460c2c4d622293893/]

See the responses in our Windows command prompt:

You can also read short information about the DelphiVCL.Application.Equals using the print() command:

[crayon-66325460c2c57864654964/]

See the responses in our Windows command prompt:

 

Check out DelphiVCL which easily allows you to build GUIs for Windows using Python.

Exit mobile version