B4J Question MouseCursor (Help)

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

  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

    Code:
    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
     
Loading...
  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