Parses the input string for a cursor. The allowable values are [ [ funciri,]* [ auto | crosshair | default | pointer | move | e-resize | ne-resize | nw-resize | n-resize | se-resize | sw- resize | s-resize | w-resize| text | wait | help ] ] | inherit
Namespace: RSSVGUtils
Delphi |
function ParseCursor( S: String; DefValue: TCursor; var Inherits: Boolean ): TCursor; |
Parameters
S
Type: String
DefValue
Type: TCursor
Inherits
Type: Boolean
Type: TCursor
If the string is blank, the function returns the default value ( DefValue). If the string contains 'inherits', the function returns the default value and sets the Inherits parameter to true. |
Reference |