Scale properties
The Scale part has the following properties:
title
value
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.
enabled
The enabled property specifies whether or not the part is available for selection. If true, the part's contents are available for selection.
fontName
The fontName property is the name of the font to use for the text displayed in the part.
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.
maximumValue
The maximumValue property specifies the highest value for the slider of a Scale part.
minimumValue
The minimumValue property specifies the lowest value for the slider of a Scale part.
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.
processingDirection
The processingDirection property specifies whether the maximum values are on the right or left side for horizontal scales, or on the top or bottom for vertical scales. The possible values are as follows:
XmMAXONTOP
Maximum value on top
XmMAXONBOTTOM
Maximum value on bottom
XmMAXONLEFT
Maximum value on left side
XmMAXONRIGHT
Maximum value on right side
showCurrentValueLabel
The showCurrentValueLabel property specifies whether a label representing the current value of the scale is displayed.
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.
title
The title property specifies the label displayed for the part. For example, the text for a window displays in the title bar, the text for a scale appears next to the scale, the text for an HTML page appears in the title bar of the Web browser, and the text for a report title appears in the report header.
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.
value
The value property specifies the current position of the slider along the scale between minimum and maximum numeric values.
valueDecimalDigits
The valueDecimalDigits property specifies the number of decimal digits to the right of the decimal to shift the slider value when displaying it. For example, if the value of a slider is 4750 and the value of the valueDecimalDigits property is 2, then the result that is displayed is 47.50.
vertical
The vertical property specifies whether the part has a vertical or horizontal orientation.
Last modified date: 01/29/2015