Navigation: Ultimate Suite for PowerBuilder Help > XP ListBar > Functions >

of_addlink

Send comments on this topic.

 

Description:

Adds a link to the specified group with optional paramater for data. Links are clickable items that trigger the itemselected event.

Syntax:

of_addlink (string as_label, string as_picture, long al_parent, any aa_data)
of_addlink (string as_label, string as_picture, long al_parent)

Argument

Description

as_label

The link text that will display in the group.

as_picture

The file name of the image used in the button. You can use a PowerBuilder image (e.g. "sql!").

al_parent

The index of the group that the link will be added to.

aa_data (optional)

Data that is associated with the item being added.

Return Value:

Always returns 1.

Usage:


Copyright © 2021 Werysoft Inc.