The control's fully qualified name.

Usage

Set_Property(OLECtrlEntID, "OLE.CtrlEntId", Text)

Values

Text can contain anything.

Default: ""

Remarks

The CtrlEntId stores the control's unique entity name. It must be set explicitely if you intend to have this tree control interact with other tree controls. For instance, the TransferItems and SendItems methods require you to pass the CtrlEntId of the destination control. Also, the CtrlEntId is passed through the drag and drop events so you can accurately identify the source of the drag and drop operation.

Here's a tip: use promoted events to set the CtrlEndId for all your tree controls.

Example

// Set the control's fully qualified entity name  
Set_Property(@Window:".OLE_TREE", "OLE.CtrlEntId", @Window:".OLE_TREE")

See Also

TransferItemsSendItems

  • No labels