DisableNoScroll – PB Docs 150

DisableNoScroll property for PowerScript controls

Controls

ListBox and PictureListBox controls

Description

The DisableNoScroll property specifies the behavior of a scroll
bar in a list box. If the property is enabled, the scroll bar is
always visible, but it is disabled when all the items can be accessed
without it. If the property is disabled, the scroll bar is displayed
only if it is necessary, based on the number of items and the height
of the ListBox or PictureListBox.

Usage

In a painter

proc.png To make the scroll bar always visible but disabled
when not needed:

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

In scripts

The DisableNoScroll property takes a boolean value. This example
for a ListBox displays the scroll bar only when needed:


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