Combo Box properties
The Combo Box part has the following properties:
attributeName
The attributeName property represents the name of the property within the collection of items to be displayed in the part.
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.
converter
The converter property is an object that manages the conversion of other objects to and from their display format for certain visual parts, such as a Text part.
dragDropSpec (AbtDragDropSpec)
For more information on the dragDropSpec attribute, refer to Using the dragDropSpec attribute
enabled
The enabled property specifies whether or not the part is available for selection. If true, the part's contents are available for selection.
entryObject
The entryObject property specifies the string you want to display in the entry field of the combo box.
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.
items
The items property represents the collection of items to display in the part. Items can be a collection of objects or strings.
If the value of the items property is a collection of objects, use the attributeName property to specify the name of the property in the object that is to be displayed.
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.
stayDroppedDown
The stayDroppedDown property specifies whether the list stays dropped down when selected.
This property should not be modified after the part has been opened.
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.
visibleItemCount
The visibleItemCount property specifies the number of list items that can fit in the visible work space. The part uses the value from the visibleItemCount property to determine the height when the top or bottom of the part is not attached.
Last modified date: 05/14/2020