RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IProperty.AllEqual Method

Indicates whether all selected components have the same value for the property.

Pascal
function AllEqual: Boolean;
C++
__fastcall Boolean AllEqual();

The Object Inspector calls AllEqual when there is more than one component selected to determine whether a value should appear for this property. If this method returns true, the Object Inspector displays a value for the property. If this method returns false, the line for the property in the Object Inspector remains blank.

Note: AllEqual is called only when the value returned by GetAttributes includes paMultiSelect.
 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!