Skip to main content

TdxBarStaticControl.CanDestroyOnClick Method

Determines whether clicking the static item control makes its parent control inactive.

Declaration

function CanDestroyOnClick: Boolean; override;

Returns

Type
Boolean

Remarks

This function returns the item’s AllowClick property value. If the value is True, clicking the static item control closes its parent via the HideAll method call with bcrEnter passed as the method parameter. If the value is False, clicking the static item control does nothing.

See Also