Skip to content

TaskPanelGroupItem Object Members

See Also

TaskPanelGroupItem Overview

See Also Task Panel ActiveX Control v24.0

TaskPanelGroupItem Object Members

Public Methods

Public Method EnsureVisible
EnsureVisible method is used to force an item in a group to become visible.

Public Method GetRect
Returns the coordinates of the bounding rectangle for the TaskPanelGroupItem.

Public Method IsGroup
Returns whether the item is a TaskPanelGroup.

Public Method Remove
Removes the TaskPanelGroupItem from a TaskPanelGroup.

Public Method SetHandle
Sets the handle to the attached control's hWnd.

Public Method SetIconPadding
This method sets the amount of space (padding) around the icon within the TaskPanelGroupItem.

Public Method SetMargins
Sets the margins of the items.

Public Method SetSize
SetSize method sets the size (width/height) of the item.

Public Properties

Public Property AllowDrag
AllowDrag property specifies how and where the TaskPanelGroupItem can be dragged and dropped.

Public Property AllowDrop
AllowDrop property specifies whether another TaskPanelGroupItem object can be dropped or inserted immediately before this item.

Public Property BackColor
Gets/Sets the back color for the item.

Public Property Bold
Gets/Sets a Boolean value indicating whether the item caption is displayed in bold font.

Public Property Caption
Gets/Sets the caption of the item.

Public Property Control
Gets/Sets the name of the control to be displayed in this item. This will add your own custom control such as a textbox, combobox, or form.

Public Property DragText
DragText property holds the text that will be sent to the Target Component when the item is dropped.

Public Property Enabled
Gets/Sets a Boolean value indicating whether the item is enabled.

Public Property Font
Gets/Sets the font used to display text for the item.

Public Property Group
Returns a reference to the TaskPanelGroup that this item belongs to.

Public Property Handle
Handle property is only used for items of type xtpTaskItemTypeControl, this should be set to the attached control's hWnd.

Public Property IconIndex
Gets/Sets the icon Id associated with the item. This will be set to the corresponding icon's "Tag" value in an ImageList control.

Public Property Id
Gets/Sets the numeric identifier of the item.

Public Property Index
Index of the TaskPanelGroupItem within the collection of items.

Public Property ParentItems
Returns a reference to the collection of groups that the current TaskPanelGroup belongs to.

Public Property Selected
Gets/Sets whether an item is selected.

Public Property Tag
Tag property is used to return or set an expression that stores any extra data needed for your program.

Public Property TextColor
Gets/Sets the color of the text that will be displayed for this item.

Public Property Tooltip
Gets/Sets the tooltip that is displayed when the mouse is positioned over the item.

Public Property Type
Gets/Sets the type of the item.

Public Property Visible
Returns or sets whether the item is visible within a group.

See Also

TaskPanelGroupItem Overview


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.