### Label Set Cursor

Sometimes it is useful, to set the cursor for a label.
For example if the label shows Copyright info and want to point to the Website.
'Set the cursor of a label
'Type examples: DEFAULT, WAIT, CLOSED_HAND, OPEN_HAND
'See https://docs.oracle.com/javase/8/javafx/api/javafx/scene/Cursor.html
'Example:
'Private lblCopyright As Label
'Label_SetCursor(lblCopyright, "OPEN_HAND")
`Sub Label_SetCursor(lbl As Label, cursortype As String)
Dim joLabel As JavaObject = lbl
Dim joCursor As JavaObject
joCursor.InitializeStatic("javafx.scene.Cursor")
joLabel.RunMethod("setCursor", Array(joCursor.GetField(cursortype)))
End Sub`

Changed: , Category: Visual Designer, File: T6C276M2045.htm, ID: 2045