RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Controls.IdentToCursor Function

Translates a predefined cursor constant into a cursor.

Pascal
function IdentToCursor(const Ident: string; var Cursor: Longint): Boolean;
C++
Boolean IdentToCursor(const AnsiString Ident, Longint Cursor);

Call IdentToCursor to reverse the translation performed by the CursorToIdent function. This method is useful for converting the strings generated by GetCursorValues into useable cursors. IdentToCursor returns true if the Ident parameter is successfully converted into a cursor. IdentToCursor returns false if the Ident parameter is not the name of one of the built-in cursor constants.

Note: If the string identifier for a cursor may represent either a numeric value or a cursor constant, use the StringToCursor function instead.
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!