![]() | Type | Description | ||
| Item as HITEM | A long expression that indicates the the handle of the item where the bar is removed. | |||
| Key as Variant | Optional. A String expression that indicates the key of the bar being removed. |
Use the ItemBar(exBarItemParent) property to move a bar from an item to another item. The ItemBar(exBarItemParent) property indicates the handle of the item that displays the bar. For instance, a bar can be moved from an item to another, only if in the second item there is no another bar with the same key ( ItemBar(exBarKey) property ), as an item can contains two bars with the same key. The control fires the BarParentChange event just before moving the bar to another item. Use this event to control the items where your bar can be moved. A bar can be moved to another item, ONLY if the second item does not contain a bar with the same key. The exBarKey property specifies the key of the bar.