ImageEn, unit iexLayerProps

TIELayerProps.StrictSelection

TIELayerProps.StrictSelection


Declaration

property StrictSelection: Boolean;


Description

Whether properties are shown for the current layer (when LayerIndex = -1) even if it is not selected.
TImageEnView will always have an active layer (specified by LayersCurrent) but that layer may not always be selected (e.g. because Selectable = False). If StrictSelection = False, the current layer is always shown. If true it must be selected to be shown.

Default: True


Examples

// Always show the properties of the current layer even if it is not selected
IELayerProps1.StrictSelection := False;
IELayerProps1.Update();