Visual Parts Reference : Parts Reference : File Selection Prompter : File Selection Prompter properties
File Selection Prompter properties
The File Selection Prompter part has the following properties:
accessType
The accessType property represents the type of file prompter you want to display. Valid values are:
XmOPEN
XmSAVE
The default is XmOpen.
defaultFileName
The defaultFileName property represents the string of characters that display by default in the File name field of the File Selection Prompter 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.
prompterStyle
The prompterStyle property specifies the type of dialog you want the prompter to display. Valid values include:
XmPRIMARYAPPLICATIONMODAL
The user must respond to the prompter before interacting with the parent window. The user can still interact with other windows.
XmFULLAPPLICATIONMODAL
The user must respond to the prompter before interacting with any window in the application. The user can still interact with other windows.
XmSYSTEMMODAL
The user cannot interact with the windows of any application until responding to the prompter.
searchMask
The searchMask property specifies the default mask, or set of characters, to use while searching for a specific file.
searchPath
The searchPath property specifies the default path to use while searching for a specific file.
selectedFileName
The selectedFileName property specifies the file name the user selected. The value for this property is set when the user selects OK. If the user selects Cancel, the value of this property does not change.
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.
Last modified date: 01/29/2015