By: Yaron Goali (WISERBIT DOT COM) for Microncode.com
User Control: cListBar
Attribute | Value |
Description | Gets/sets the background colour of the bar. The special value -1 sets the colour to the default. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | oColor | OLE_COLOR |
Attribute | Value |
Description | Gets/sets the width of buttons in the control. Use this property to set the width of the control: note the actual width will vary depending on whether the scroll bar is shown. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | fButtonWidth | Single |
Attribute | Value |
Description | Gets/sets the font used to draw the items in the control. |
Optional | ByVal/ByRef | Variable | Datatype |
fnt | StdFont |
Optional | ByVal/ByRef | Variable | Datatype |
fnt | StdFont |
Optional | ByVal/ByRef | Variable | Datatype |
ByRef | vImageList | Variant |
Attribute | Value |
Description | Sets the ImageList used to draw the control. If using a VB ImageList, set to the ImageList object, otherwise if using an API-based ImageList pass in the hImageList or hIml property. Set to 0 to clear the ImageList. |
Optional | ByVal/ByRef | Variable | Datatype |
vKey | Variant |
Attribute | Value |
Description | Gets/sets the caption for the specified item. |
Optional | ByVal/ByRef | Variable | Datatype |
vKey | Variant | ||
ByVal | sCaption | String |
Attribute | Value |
Description | Gets the number of items in the control. |
Optional | ByVal/ByRef | Variable | Datatype |
vKey | Variant |
Attribute | Value |
Description | Gets/sets a long value associated with an item. |
Optional | ByVal/ByRef | Variable | Datatype |
vKey | Variant | ||
ByVal | lItemData | Long |
Optional | ByVal/ByRef | Variable | Datatype |
vKey | Variant |
Attribute | Value |
Description | Gets/sets whether the specified item is enabled or not. |
Optional | ByVal/ByRef | Variable | Datatype |
vKey | Variant | ||
ByVal | bEnabled | Boolean |
Optional | ByVal/ByRef | Variable | Datatype |
vKey | Variant |
Attribute | Value |
Description | Gets/sets the 0-based index of the icon for the specified item. |
Optional | ByVal/ByRef | Variable | Datatype |
vKey | Variant | ||
ByVal | lIconIndex | Long |
Optional | ByVal/ByRef | Variable | Datatype |
vKey | Variant |
Attribute | Value |
Description | Gets the index of the specified item in the control. |
Optional | ByVal/ByRef | Variable | Datatype |
vKey | Variant |
Attribute | Value |
Description | Gets/sets the key associated with the specified item in the control. |
Optional | ByVal/ByRef | Variable | Datatype |
vKey | Variant | ||
ByVal | sKey | String |
Optional | ByVal/ByRef | Variable | Datatype |
vKey | Variant |
Attribute | Value |
Description | Gets/sets whether an item is selected or not. Either no items or one item can be selected. |
Optional | ByVal/ByRef | Variable | Datatype |
vKey | Variant | ||
ByVal | bSelected | Boolean |
Optional | ByVal/ByRef | Variable | Datatype |
vKey | Variant |
Attribute | Value |
Description | Gets/sets a string value associated with the specified item. |
Optional | ByVal/ByRef | Variable | Datatype |
vKey | Variant | ||
ByVal | sTag | String |
Optional | ByVal/ByRef | Variable | Datatype |
vKey | Variant |
Attribute | Value |
Description | Gets/sets the tooltip to display for the specified item. |
Optional | ByVal/ByRef | Variable | Datatype |
vKey | Variant | ||
ByVal | sToolTip | String |
Attribute | Value |
Description | Gets/sets the scale mode used for the control. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | eMode | ScaleModeConstants |
Attribute | Value |
Description | Gets the selected item in the control. Use the ItemSelected property to set the selected index. |
Optional | ByVal/ByRef | Variable | Datatype |
Optional | ByVal | sKey | String("") |
Optional | ByVal | sCaption | String("") |
Optional | ByVal | lIconIndex | Long(-1) |
Optional | ByVal | sToolTip | String("") |
Optional | ByVal | bEnabled | Boolean(True) |
Optional | ByVal | sTag("") | |
Optional | ByVal | lItemData(0) | |
Optional | KeyBefore | Variant |
Attribute | Value |
Description | Adds or inserts a new item to the bar. |
Attribute | Value |
Description | Clears all items from the control. |
Optional | ByVal/ByRef | Variable | Datatype |
vKey | Variant |
Attribute | Value |
Description | Ensures the specified item is in view, scrolling if required. |
Optional | ByVal/ByRef | Variable | Datatype |
vKey | Variant |
Attribute | Value |
Description | Removes the specified item from the control. |
Optional | ByVal/ByRef | Variable | Datatype |
pCI | CONTROLINFO |
Optional | ByVal/ByRef | Variable | Datatype |
pMsg | Msg |
Optional | ByVal/ByRef | Variable | Datatype |
x | Single | ||
y | Single |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lIndex | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lIndex | Long | |
x | Single | ||
y | Single |
Optional | ByVal/ByRef | Variable | Datatype |
KeyCode | KeyCodeConstants | ||
Shift | ShiftConstants |
Optional | ByVal/ByRef | Variable | Datatype |
KeyAscii | Integer |
Optional | ByVal/ByRef | Variable | Datatype |
KeyCode | KeyCodeConstants | ||
Shift | ShiftConstants |
Optional | ByVal/ByRef | Variable | Datatype |
Button | MouseButtonConstants | ||
Shift | ShiftConstants | ||
x | Single | ||
y | Single |
Optional | ByVal/ByRef | Variable | Datatype |
Button | MouseButtonConstants | ||
Shift | ShiftConstants | ||
x | Single | ||
y | Single |
Optional | ByVal/ByRef | Variable | Datatype |
Button | MouseButtonConstants | ||
Shift | ShiftConstants | ||
x | Single | ||
y | Single |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lIndex | Long |