Skip to main content

TCustomdxPSExplorerItem.CanMoveTo(TCustomdxPSExplorerItem) Method

Indicates whether the item can be moved to the specified position.

Declaration

function CanMoveTo(AParent: TCustomdxPSExplorerItem): Boolean; overload; virtual;

Parameters

Name Type
AParent TCustomdxPSExplorerItem

Returns

Type
Boolean

Remarks

The CanMoveTo method is called when changing the item’s Parent property value. This method’s return value indicates whether the item’s parent can be changed. In other words, it determines whether the item can be moved to another folder. The target folder is specified by the AParent parameter.

If the item can be moved, the CanMoveTo method returns True, otherwise, False is returned.

See Also