C cwt Active Member Licensed User Longtime User Dec 10, 2020 #1 I created a new app and selected B4XPages as the new app type. This then created all the folders and files as outlined in the B4XPage video. The Main module and B4XMainPage modules were automatically added to the app. But when I try to add a new B4XPage to the app by going to Project > Add New Module > Class Module, there is no B4XPage choice on the Class Module list as shown in the video. What might I have done wrong? The BX4Page ThreePagesExample displays the same behavior - no Bx4Page choice on the Class Module list. Using B4i v6.80 Last edited: Dec 10, 2020
I created a new app and selected B4XPages as the new app type. This then created all the folders and files as outlined in the B4XPage video. The Main module and B4XMainPage modules were automatically added to the app. But when I try to add a new B4XPage to the app by going to Project > Add New Module > Class Module, there is no B4XPage choice on the Class Module list as shown in the video. What might I have done wrong? The BX4Page ThreePagesExample displays the same behavior - no Bx4Page choice on the Class Module list. Using B4i v6.80
Star-Dust Expert Licensed User Longtime User Dec 10, 2020 #2 Have you selected the B4XPages library? Or better .. have you unchecked the B4XPages library by mistake? Upvote 0
Have you selected the B4XPages library? Or better .. have you unchecked the B4XPages library by mistake?
C cwt Active Member Licensed User Longtime User Dec 10, 2020 #3 The BX4Pages library is checked. Upvote 0
klaus Expert Licensed User Longtime User Dec 10, 2020 #4 Me too, I don't see B4XPages in the B4i IDE. You can add it either in B4A or B4J. Upvote 0
aeric Expert Licensed User Longtime User Dec 11, 2020 #5 I never notice this because I always start B4XPages project from B4J. Upvote 0
Star-Dust Expert Licensed User Longtime User Dec 11, 2020 #6 Custom classes are included in the B4XPagesTemplate library. It appears to me on B4I, but B4XPagesTemplate must be selected. The mistake lies in this. When you create a new B4XPages project, B4XPagesTemplate is not automatically selected If you select B4XPagesTemplate, a message appears next to the library name stating that it is not needed in B4i to manage pages. But surely @Erel didn't think it was necessary to add for Custom Classes Last edited: Dec 11, 2020 Upvote 0
Custom classes are included in the B4XPagesTemplate library. It appears to me on B4I, but B4XPagesTemplate must be selected. The mistake lies in this. When you create a new B4XPages project, B4XPagesTemplate is not automatically selected If you select B4XPagesTemplate, a message appears next to the library name stating that it is not needed in B4i to manage pages. But surely @Erel didn't think it was necessary to add for Custom Classes
Erel B4X founder Staff member Licensed User Longtime User Dec 11, 2020 #7 It is a technical limitation in B4i that will be fixed. There is however nothing special with B4XPages. Add a class and add the code: https://www.b4x.com/android/forum/threads/solved-b4xpages-class-module-is-missing.123649/post-772541 Upvote 0
It is a technical limitation in B4i that will be fixed. There is however nothing special with B4XPages. Add a class and add the code: https://www.b4x.com/android/forum/threads/solved-b4xpages-class-module-is-missing.123649/post-772541
Star-Dust Expert Licensed User Longtime User Dec 11, 2020 #8 You could overcome the obstacle by adding a custom class in this way Custom class templates in B4X I always prefer to create libraries entirely in B4A without using Java. so I ask myself a question: It is possible to create Custom Class Templates without using Java, but creating a library entirely in B4A? www.b4x.com Upvote 0
You could overcome the obstacle by adding a custom class in this way Custom class templates in B4X I always prefer to create libraries entirely in B4A without using Java. so I ask myself a question: It is possible to create Custom Class Templates without using Java, but creating a library entirely in B4A? www.b4x.com