Why is the Hint property not available when selecting multiple components?

86 views Asked by At

Generally, if you select two components in the IDE designer, the object inspector shows all properties that they have in common.

I wanted to clear the Hint property of several DevExpress TcxLabel components, and noticed that the object inspector does not show the Hint property. The same happens with e.g. two TLabel components.

Is this a bug, or is there a logical/technical reason that the Hint property does not behave as expected? The other string property Caption shows fine with multi-select.

1

There are 1 answers

2
Uwe Raabe On

Some properties are not eligible for participation in a multiple selection. The comment in DesignIntf.pas for paMultiSelect gives a hint:

Some properties are not appropriate for multi-selection (e.g. the Name property).

Out of my head ImageIndex is in this list, but Hint usually is not. A quick check here confirms that Hint is still in the Object Inspector when two TLabel are selected. It may be some expert or design package causing it for you.