Visual Parts Reference : Parts Reference : Date and Time Picker : Date and Time Picker properties
Date and Time Picker properties
date
day
enabled
hour
minute
month
object
second
year
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.
date
The date property is the date portion of the value of the part.
day
The day property specifies the calendar day associated with the part.
displayFormat
The displayFormat property is a format string associated with the part. Possible values are:
o XmSHORT ('M/yyyy')
o XmMEDIUM (Windows LOCALE_SSHORTDATE)
o XmLONG (Windows LOCALE_SLONGDATEFORMAT)
o XmTIME (Windows LOCALE_STIMEFORMAT)
The valid content for a format string is shown in Date and Time Picker Format Strings
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.
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.
hour
The hour property is the clock hour associated with the part.
minute
The minute property is the clock minute associated with the part.
month
The month property specifies the calendar month associated with the part.
object
The object property is the time and date portions of the value of the 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.
second
The second property is the clock second associated with the part.
shownone
The shownone property controls whether the part displays a check box that is automatically selected whenever a date is picked or entered. If the check box is subsequently deselected, the application cannot retrieve the date from the control because, in essence, the control has no date.
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.
year
The year property specifies the calendar month associated with the part.
Last modified date: 05/14/2020