TaskPanelGroupItem Object Members
See Also
![]() |
Task Panel ActiveX Control v24.0 | |||||||
|---|---|---|---|---|---|---|---|---|
TaskPanelGroupItem Object Members
Public Methods
EnsureVisible
EnsureVisible method is used to force an item in a group to become visible.
GetRect
Returns the coordinates of the bounding rectangle for the TaskPanelGroupItem.
IsGroup
Returns whether the item is a TaskPanelGroup.
Remove
Removes the TaskPanelGroupItem from a TaskPanelGroup.
SetHandle
Sets the handle to the attached control's hWnd.
SetIconPadding
This method sets the amount of space (padding) around the icon within the TaskPanelGroupItem.
SetMargins
Sets the margins of the items.
SetSize
SetSize method sets the size (width/height) of the item.
Public Properties
AllowDrag
AllowDrag property specifies how and where the TaskPanelGroupItem can be dragged and dropped.
AllowDrop
AllowDrop property specifies whether another TaskPanelGroupItem object can be dropped or inserted immediately before this item.
BackColor
Gets/Sets the back color for the item.
Bold
Gets/Sets a Boolean value indicating whether the item caption is displayed in bold font.
Caption
Gets/Sets the caption of the item.
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.
DragText
DragText property holds the text that will be sent to the Target Component when the item is dropped.
Enabled
Gets/Sets a Boolean value indicating whether the item is enabled.
Font
Gets/Sets the font used to display text for the item.
Group
Returns a reference to the TaskPanelGroup that this item belongs to.
Handle
Handle property is only used for items of type xtpTaskItemTypeControl, this should be set to the attached control's hWnd.
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.
Id
Gets/Sets the numeric identifier of the item.
Index
Index of the TaskPanelGroupItem within the collection of items.
ParentItems
Returns a reference to the collection of groups that the current TaskPanelGroup belongs to.
Selected
Gets/Sets whether an item is selected.
Tag
Tag property is used to return or set an expression that stores any extra data needed for your program.
TextColor
Gets/Sets the color of the text that will be displayed for this item.
Tooltip
Gets/Sets the tooltip that is displayed when the mouse is positioned over the item.
Type
Gets/Sets the type of the item.
Visible
Returns or sets whether the item is visible within a group.
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.
