GroundSpeed  HasLines

Chapter 3: Property Descriptions and Usage

HasButtons

Applies to

TreeView controls

Description

When HasButtons is enabled, PocketBuilder displays + and - buttons next to parent items. The buttons indicate if an item is expanded (-) or collapsed (+).

Usage


In a painter

StepsTo enable the display of buttons:

  1. 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 PocketBuilder will display + and - buttons in a TreeView.

tv_1.HasButtons = TRUE





Copyright © 2004. Sybase Inc. All rights reserved. HasLines

View this book as PDF