Vcl.Controls.IdentToCursor
Delphi
function IdentToCursor(const Ident: string; var Cursor: Longint): Boolean;
C++
extern DELPHI_PACKAGE bool __fastcall IdentToCursor(const System::UnicodeString Ident, int &Cursor);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | Vcl.Controls.pas Vcl.Controls.hpp |
Vcl.Controls | Vcl.Controls |
説明
事前定義のカーソル定数をカーソルに変換します。
IdentToCursor 関数は CursorToIdent と逆の動作です。このメソッドは,GetCursorValues 手続きで生成された文字列を使用可能なカーソルに変換するときに役に立ちます。IdentToCursor は,変換が正しく行われた場合は true を返します。IdentToCursor は,Ident が組み込みのカーソル定数の名前を示していない場合は false を返します。
メモ: Ident が数値またはカーソル定数の両方を示す場合は,StringToCursor を使用してください。