Bug? ScrollPane with Designer dont Initialize InnerNode

Knoppi

Active Member
Licensed User
Longtime User
(b4j 5.90)
ScrollPane with Designer dont Initialize InnerNode

it works when i do this:
B4X:
    Dim p As Pane
    p.Initialize( "")
    ScrollPane1.InnerNode = p
    p.AddNode( CreateButtonFAS( "Apple", Chr(0xF179), 0xFF1D0080, "btn"), 0,0 ,50 ,50)
but throws a error with this:
B4X:
    Dim p As Pane = ScrollPane1.InnerNode
    p.AddNode( CreateButtonFAS( "Apple", Chr(0xF179), 0xFF1D0080, "btn"), 0,0 ,50 ,50)
 

Attachments

  • ScrollView.zip
    2 KB · Views: 274
Last edited:
Cookies are required to use this site. You must accept them to continue using the site. Learn more…