rossati Active Member Licensed User Longtime User Jan 15, 2014 #1 Hello I have this error: java.lang.ClassCastException: java.lang.Integer cannot be cast to android.widget.TextView in this instruction: B4X: Dim lbl As Label = fg.getHandle("title") lbl.TextColor = Colors.Green TextColor and Colors.Green are not Int? Best regards. John Rossati
Hello I have this error: java.lang.ClassCastException: java.lang.Integer cannot be cast to android.widget.TextView in this instruction: B4X: Dim lbl As Label = fg.getHandle("title") lbl.TextColor = Colors.Green TextColor and Colors.Green are not Int? Best regards. John Rossati
LucaMs Expert Licensed User Longtime User Jan 15, 2014 #2 rossati said: Hello I have this error: java.lang.ClassCastException: java.lang.Integer cannot be cast to android.widget.TextView in this instruction: B4X: Dim lbl As Label = fg.getHandle("title") lbl.TextColor = Colors.Green TextColor and Colors.Green are not Int? Best regards. John Rossati Click to expand... Label is not an integer Upvote 0
rossati said: Hello I have this error: java.lang.ClassCastException: java.lang.Integer cannot be cast to android.widget.TextView in this instruction: B4X: Dim lbl As Label = fg.getHandle("title") lbl.TextColor = Colors.Green TextColor and Colors.Green are not Int? Best regards. John Rossati Click to expand... Label is not an integer
Erel B4X founder Staff member Licensed User Longtime User Jan 16, 2014 #3 I guess that the error is from the first line, not the second one. Upvote 0
rossati Active Member Licensed User Longtime User Jan 16, 2014 #4 Thanks I apologizi was my fault John Rossati Upvote 0