of_addSeparator

Description

Adds a separator item to a group on the XPlistBar.

Syntax

of_addSeparator({long group})
of_addSeparator({string group})

Parameter(s)

Name Type Description
group Long or String The group index or name to which a separator is to be added. The name of the group is the name the programmer gave when of_addGroup was called or when of_setText was last called. The group index is the same as the value returned when of_addGroup was called.

Return Value

Returns a long containing the index of the item.

Usage

When using this method, separators are added sequentially to the indicated group.

The visible property of separators is handled automatically by the XPListBar's update logic. Hanging separators, ones at the end or beginning, are not shown. Also, if items are added in such a way as to create two adjacent separators, the second one is hidden so the user only sees one separator.

Examples

of_addSeparator('File')

Long                   ll_group
ll_group               = of_addGroup('File', '', '')

of_addSeparator(ll_group)


Cannot resolve image macro, invalid image name or id.

See Also

Last edited Sep 24, 2016 at 4:54 PM by cjharris02892, version 7