Bernhard P.
Member
Hello,
I'm going to write an app with panels (tabstripviewpager).
Now I want to change the text size of the panel with
But I receive this error:
I'm stuck! Can anybody help me?
I'm going to write an app with panels (tabstripviewpager).
Now I want to change the text size of the panel with
Change text size:
Panel1.TextSize = 14
But I receive this error:
Java Error:
newqcpreport_activity_create (B4A line: 38)
Panel1.TextSize = 14
java.lang.RuntimeException: Type does not match (class anywheresoftware.b4a.BALayout)
at anywheresoftware.b4a.objects.B4XViewWrapper.typeDoesNotMatch(B4XViewWrapper.java:362)
at anywheresoftware.b4a.objects.B4XViewWrapper.asLabelWrapper(B4XViewWrapper.java:194)
at anywheresoftware.b4a.objects.B4XViewWrapper.setTextSize(B4XViewWrapper.java:233)
at anywheresoftware.b4a.samples.twoactivities.newqcpreport._activity_create(newqcpreport.java:389)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:196)
at anywheresoftware.b4a.samples.twoactivities.newqcpreport.afterFirstLayout(newqcpreport.java:104)
at anywheresoftware.b4a.samples.twoactivities.newqcpreport.access$000(newqcpreport.java:17)
at anywheresoftware.b4a.samples.twoactivities.newqcpreport$WaitForLayout.run(newqcpreport.java:82)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:241)
at android.app.ActivityThread.main(ActivityThread.java:6274)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
java.lang.RuntimeException: Type does not match (class anywheresoftware.b4a.BALayout)
I'm stuck! Can anybody help me?