HasButtons
property for PowerScript controls
Applies to
TreeView controls
Description
When HasButtons is enabled, PowerBuilder displays + and – buttons
next to parent items. The buttons indicate whether an item is expanded (-)
or collapsed (+).
Usage
In a painter
To enable the display of buttons:
-
Select the HasButtons check box on the General page of the
control’s Properties view.
In scripts
The HasButtons property takes a boolean value. The following line
specifies that PowerBuilder will display + and – buttons in a
TreeView:
|
1 |
tv_1.HasButtons = TRUE |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest