Visual Parts Reference : Parts Reference : OS/2 - Windows Notebook : OS/2-Windows Notebook properties
OS/2-Windows Notebook properties
The OS/2-Windows Notebook part has the following properties:
backgroundColor
The backgroundColor property is the name of the RGB color for the background of the part.
backPageBackground
The backPageBackground property specifies the RGB color used between the thin parallel lines representing the pages before or after the current page.
backPageForeground
The backPageForeground property specifies the RGB color of the lines representing the pages before or after the current page.
backPagePlacement
The backPagePlacement property specifies the corner of the notebook where all the back pages (thin parallel lines) meet.
bindingType
The bindingType property specifies the type of binding, either spiral or solid, for the notebook. The possible values are as follows:
XmSPIRAL
Spiral binding
XmSOLID
Solid binding (default)
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.
frameBackground
The frameBackground property is the name of the color of the frame background.
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.
majorTabBackground
The majorTabBackground property specifies the background color for the major tab.
majorTabExtent
The majorTabExtent property specifies the size of the major tab.
majorTabForeground
The majorTabForeground property specifies the foreground color for the major tab.
minorTabBackground
The minorTabBackground property specifies the background color for the minor tab.
minorTabExtent
The minorTabExtent property specifies the size of the minor tab.
minorTabForeground
The minorTabForeground property specifies the foreground color for the minor tab.
orientation
The orientation property specifies on which side the binding appears and which side the major tabs appear. Valid values include the following:
XmHORIZONTAL
Major tabs appear on the right and minor tabs are either on the top or bottom depending on the back page position.
XmVERTICAL
Major tabs are either on the top or bottom depending on the back page position and minor tabs appear on the right.
pageButtonExtent
The pageButtonExtent property specifies the size of the page buttons.
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.
statusJustification
The statusJustification property specifies whether the text in the status area is justified to the left, center, or right. The possible values are as follows:
XmLEFT
Left justify
XmCENTER
Center justify
XmRIGHT
Right justify
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.
tabJustification
The tabJustification property specifies the left and right justification for the tab text. Possible values are:
XmLEFT
Left justify
XmCENTER
Center justify
XmRIGHT
Right justify
tabShape
The tabShape property specifies the shape of the tab. The tab can have a round, square, or polygon shape. The possible values are as follows:
XmROUND
Round tab
XmSQUARE
Square tab
XmPOLYGON
Polygon tab
topPageIndex
The topPageIndex property specifies the index of the top page.
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.
Last modified date: 01/29/2015