Window Properties
The Window part has the following properties:
icon
allowShellResize
The allowShellResize property specifies that the window changes size when the contents of the window changes size.
This property is effective only when the window is created, and does not reset the window's size later.
autoUnmanage
The autoUnmanage property specifies whether any key pressed will dismiss the dialog window.
Note:
This attribute is no longer supported.
backgroundColor
The backgroundColor property is the name of the RGB color for the background of the part.
backgroundGraphicsDescriptor
The backgroundGraphicsDescriptor property is an icon, bitmap, or image that is used for the background of the part. The labelType property must be an icon, bitmap, or image or the backgroundGraphicsDescriptor property is ignored.
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.
buttonFontName
The buttonFontName property is the font used for the buttons in the part. If a font is not specified, the font specified on the textFontName property is used for the buttons in the part.
dialogBorder
The dialogBorder property specifies whether the part has a dialog border.
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.
fractionBase
The fractionBase property is the denominator used in the fraction to calculate the percentage for the proportional spacing. The default value is 100.
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.
horizontalSpacing
The horizontalSpacing property is the default horizontal space between the part and its children. The default value is 0.
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.
icon
The icon property represents the icon representing the window or the system menu icon.
iconic
The iconic property represents whether the window is in its icon state. If you set the iconic property to true, then the window appears in its icon state.
inputMethodEditor
The inputMethodEditor property specifies that an input method editor (IME) is used for input on a double-byte platform.
inputType
The inputType property specifies the type of input in an input method editor (IME) on a double-byte platform. Valid values are:
XmSBCSPHONETIC
XmSBCSALPHANUMERIC
XmDBCSPHONETIC
XmDBCSNATIVE
XmDBCSALPHANUMERIC
labelFontName
The labelFontName property is the font used for the labels of the part. If a font is not specified, the font specified on the textFontName property is used.
marginHeight
The marginHeight property is the amount of vertical space between the part and its children.
marginWidth
The marginWidth property is the amount of horizontal space between the part and its children that are not attached.
maximizeButton
The maximizeButton property specifies whether the part has a maximize button.
minimizeButton
The minimizeButton property specifies whether the part has a minimize 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.
romanInput
The romanInput property specifies roman input in an input method editor on a double-byte platform.
rubberPositioning
The rubberPositioning property specifies whether child parts have their positions converted to proportional attachments.
If rubberPositioning is set to true, all children parts with no attachments on their top, bottom, left, or right, have their initial top and left positions converted to proportional attachments. If rubberPositioning is set to false, then the initial top and left positions are attached to the parent.
Note:
This property only applies to child parts that are added at runtime. Child parts that are added in the Composition Editor at edit time to a part that has rubberPositioning set to true will be attached to the form at the top and left.
sizeBorder
The sizeBorder property specifies whether the part has a border that can be sized.
systemMenu
The systemMenu property specifies whether the part has a system menu.
textFontName
The textFontName property is the font used for the child text parts of the part. If you do not specify a font using the buttonFontName or labelFontName properties, the font specified on the textFontName property is used.
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.
titleBar
The titleBar property specifies whether the part has a title bar.
verticalSpacing
The verticalSpacing property is the default vertical space between the part and its children.
wallpaperStyle
The wallpaperStyle property specifies how you want the wallpaper images displayed. Possible values are:
XmNormalWallpaper
XmTiledWallpaper
XmScaledWallpaper
Last modified date: 01/29/2015