Click or drag to resize

ListView.AddGroup Method

X#
Set an image as the background to the list view.

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD AddGroup(
	iGroupId,
	cGroupName,
	dwAlign
) AS USUAL CLIPPER
Request Example View Source

Parameters

iGroupId (Optional)
Type: Usual
The number of the group.
cGroupName (Optional)
Type: Usual
group name
dwAlign (Optional)
Type: Usual
The group alignment. Available options are -
LVGA_HEADER_LEFT
LVGA_HEADER_RIGHT
LVGA_HEADER_CENTER

Return Value

Type: Usual
TRUE if successful; otherwise, FALSE.
Remarks
Tip Tip
Listview grouping requires visual styles. If visual styles are not enabled or available these features have no effect. If group view is enabled only items belonging to groups are displayed.
See Also