Important: The information in this document is obsolete and should not be used for new development.
GetCaretTime
You can use theGetCaretTime
function to get the suggested difference in ticks that should exist between blinks of the caret (usually a vertical bar marking the insertion point) in editable text. The user can adjust this value using the General Controls panel.
FUNCTION GetCaretTime: LongInt;DESCRIPTION
If your application supports editable text, your application should use the value returned byGetCaretTime
to determine how often to blink the caret. If your application uses only TextEdit, you can use TextEdit procedures to automatically blink the caret at the time interval that the user specifies in the General Controls panel.ASSEMBLY-LANGUAGE NOTE
The value returned byGetCaretTime
is also accessible in the system global
variableCaretTime
.