Applies to
DataWindow, DropDownListBox, DropDownPictureListBox, EditMask, InkEdit, ListBox, MultiLineEdit, PictureListBox, RichTextEdit controls, windows, user objects
Description
When the VScrollBar property is enabled, PowerBuilder adds a vertical scroll bar to the right of a window or other control when the contents of the object are outside the borders.
Usage
In a painter
To allow display of a vertical scroll bar:
-
Select the VScrollBar check box on the General or Scroll tab page of the object's Properties view.
In scripts
The VScrollBar property is a boolean value.
This example displays a vertical scroll bar in a DataWindow control:
dw_1.VScrollBar = TRUE
This property cannot be set at runtime for EditMask controls.