Visual Parts Reference : Parts Reference : Scrolled Window : Scrolled Window properties
Scrolled Window properties
The Scrolled Window part has the following properties:
backgroundColor
The backgroundColor property is the name of the RGB color for the background of the part.
borderWidth
The borderWidth property is the width of the border, specified in pixels, that surrounds the part on all four sides. A width of zero means that a border does not show.
On some platforms, the border width is limited to 1 pixel and any nonzero value is set to 1.
clipBackgroundGraphicsDescriptor
The clipBackgroundGraphicsDescriptor property specifies whether the graphic that displays in the background of the window is clipped.
enabled
The enabled property specifies whether or not the part is available for selection. If true, the part's contents are available for selection.
foregroundColor
The foregroundColor property is the name of the RGB color for the foreground of the part.
framingSpec
The framingSpec property represents the values specified for the edge specifications of the part. The edge specifications determine the width, height, and position of the part.
helpFile
The helpFile property is the name of the help file associated with the part.
helpKeysId
The helpKeysId property is the ID of the keys help associated with the part. The ID can be a string or an integer value.
The ID must exist in the help file associated with the part.
helpTitle
The helpTitle property is the title of the help window associated with the part.
helpTopicId
The helpTopicId property is the ID of the help topic associated with the part. The ID can be a string or an integer value.
The ID must exist in the help file associated with the part.
hoverHelpEnabled (Boolean)
The hoverHelpEnabled property indicates whether you want hover help to be provided for this part and all of its children. The default is false.
partName
The partName property specifies the name you want to use to describe the part. For nonvisual parts, this text appears under the icon for the part on the free-form surface.
The name of the part can consist of alphanumeric characters, and must be different from those of all other parts on the layout surface.
If you do not specify a part name, VA Smalltalk generates a unique name based on the class name of the part.
scrollBarDisplayPolicy
The scrollBarDisplayPolicy property specifies the automatic placement of the scroll bars for the part. Possible values are:
XmSTATIC
Specifies that scroll bars are always displayed. This is the default.
XmAUTOMATIC
Specifies that scroll bars are displayed only when the size of the workspace exceeds the area in one or both dimensions. The scrollingPolicy attribute must be set to XmAUTOMATIC for this to occur.
scrollingPolicy
The scrollingPolicy property determines when you want the window to scroll. You must set this property. The scrollingPolicy property must be set before the part is created. Possible values are:
XmAUTOMATIC
Specifies you want scroll bars created automatically.
XmAPPLICATIONDEFINED
Specifies that you want the application to control all aspects of the scrolling actions, including the display of scroll bars.
tabGroup
The tabGroup property specifies whether or not the part is included as a tab stop so users can use the Tab and Backtab keys to access the part.
traversalOn
The traversalOn property specifies whether users can access the part using the cursor movement keys. If the part is specified as a tab stop by using the tabGroup property, users also can use the Tab and Backtab keys to access the part.
visualPolicy
The visualPolicy property specifies the size of the Scrolled Window part. You must set this property before the Scrolled Window part is created. Valid values are:
XmVARIABLE
Specifies that the work area grows or shrinks at any time and will adjust to the parts within it. This is the default value.
XmCONSTANT
Specifies that the work area grows and shrinks as requested, but a clipping area forces the size of the visible portion to remain constant. Only the parent of the Scrolled Window part can cause the clipping area to grow in size.
Note:
To create a cross-platform or portable application, do not depend on the clipping area for certain actions.
Last modified date: 01/29/2015