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

of_addobject

Send comments on this topic.

 

Description:

Adds a PowerBuilder object to the XP ListBar group.

Syntax:

of_addobject (ref dragobject a_object, string as_picture, long al_parent)
of_addobject (ref dragobject a_object, boolean ab_nopadding, long al_parent)

Argument

Description

a_object

The PowerBuilder dragobject that will be added to 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 visual object will be added to.

ab_nopadding

 Indicates that no padding will be added around the control that's being added to the XPListBar group

Return Value:

Always returns 1.

Usage:


Copyright © 2021 Werysoft Inc.