G geps Member Licensed User Longtime User Dec 27, 2018 #1 Hey, I'm a beginner this code example works with b4a not with b4J can someone help? 1. Private view as Label For i = 0 To Activity.NumberOfViews - 1 view=Activity.GetView(i) view.Enabled=false Next 2. Private lbl as Int Private view as Label lbl=2 view=Activity.GetView(lbl-1)
Hey, I'm a beginner this code example works with b4a not with b4J can someone help? 1. Private view as Label For i = 0 To Activity.NumberOfViews - 1 view=Activity.GetView(i) view.Enabled=false Next 2. Private lbl as Int Private view as Label lbl=2 view=Activity.GetView(lbl-1)
Star-Dust Expert Licensed User Longtime User Dec 27, 2018 #2 In B4J the views are called a node. Use Pane.GetNode (0) and Pane.NumberOfNodes Upvote 0