Menu Cascade properties
The Menu Cascade part has the following properties:
backgroundColor
The backgroundColor property is the name of the RGB color for the background of the part.
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.
disabledGraphicsDescriptor
The disabledGraphicsDescriptor property is an icon, bitmap, or image used to indicate that the part is disabled. The labelType property must be an icon, bitmap, or image or the disabledGraphicsDescriptor property is ignored.
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.
graphicsDescriptor
The graphicsDescriptor property is an icon, bitmap, or image that is used instead of text for the label. The labelType property must be XmPIXMAP or the graphicsDescriptor property is ignored.
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.
labelType
The labelType property specifies the type of label you want. The possible values are as follows:
XmSTRING
The string defined by labelString is displayed.
XmPIXMAP
The graphic defined by graphicsDescriptor is displayed.
mnemonic
The mnemonic property is a character that the user can type to select an item.
A mnemonic character is displayed with an underscore (_) and is usually used for buttons belonging to menus.
object
The object property is the data that the part represents. If the part represents non-string data, use this property; otherwise use the labelString or string property.
For example, you can use the object property with a converter to display the label of a button.
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.
Last modified date: 01/29/2015