AnnTokenType property (Annotation Control)
Builder Syntax |
int AnnTokenType |
Delphi Syntax |
AnnTokenType: L_INT |
Overview |
Refer to Implementing Annotations. |
Remarks
Gets or sets a value that indicates the type of token. Must be one of the constants in the following table:
ANNTOKEN_NONE |
[0] String not treated as a token |
ANNTOKEN_SEPARATOR |
[1] Add a separator to the automation token menu |
ANNTOKEN_TEXT |
[2] A text string |
ANNTOKEN_DATE_YYYY |
[3] Current four digit year |
ANNTOKEN_DATE_YY |
[4] Current two digit year |
ANNTOKEN_DATE_MM |
[5] Two digit representation of current month |
ANNTOKEN_DATE_DD |
[6] Two digit representation of current day |
ANNTOKEN_DATE_MONTH_NAME |
[7] Current month name (i.e. January) |
ANNTOKEN_DATE_DAY_OF_WEEK |
[8] Current day of week (i.e. Monday) |
ANNTOKEN_TIME_HH_12 |
[9] Current hour,using a 12 hour clock |
ANNTOKEN_TIME_HH_24 |
[10] Current hour, using a 24 hour clock |
ANNTOKEN_TIME_MM |
[11] Current minute (00-59) |
ANNTOKEN_TIME_SS |
[12] Current second (00-59) |
ANNTOKEN_TIME_MILLISECONDS |
[13] Current milliseconds (000-999) |
ANNTOKEN_AM_PM |
[14] Time of day indicator (AM or PM) |
See Also