B4J Question MouseCursor (Help)

Discussion in 'B4J Questions' started by BeneBarros, May 27, 2015.

Similar threads

B4J Tutorial FlickrViewer
B4J Question MouseCursor (SOLVED)
B4J Question cursor after mouse over
B4J Question Raspberry mouse and keyboard w/B4J
B4J Question Mouse Cursor Delay in Changing
  1. BeneBarros

    BeneBarros Active Member Licensed User

    in fx.Cursors not have the H_RESIZE and V_RESIZE options.
    how to do this at runtime?
  2. Erel

    Erel Administrator Staff Member Licensed User

    MainForm.RootPane.MouseCursor = GetMouseCursor("V_RESIZE")

    Sub GetMouseCursor(Name As StringAs Object
    Dim jo As JavaObject
    Return jo.InitializeStatic("javafx.scene.Cursor").GetField(Name)
    End Sub
    BeneBarros likes this.
  3. BeneBarros

    BeneBarros Active Member Licensed User

    thank Erel
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice