ButtonHeader – PB Docs 150

ButtonHeader property for PowerScript controls

Controls

ListView controls

Description

When the ButtonHeader property is enabled, the column titles
in a ListView’s report view appear as pushable buttons
instead of labels.

Usage

In a painter

proc.png To set the ButtonHeader property:

  1. Select the ButtonHeader check box on the
    General page of the ListView control’s Properties view.

In scripts

The ButtonHeader property is only relevant to a report view
in a ListView control. To enable report view, you must write a script
that establishes columns with the AddColumn and SetColumn functions,
and then populate the columns using the SetItem function.

See “Using Lists in a Window” in Application Techniques for
more information about using report view.

The ButtonHeader property takes a boolean value. The following
example specifies a button header for a report in a ListView:


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x