iOS Question cannot add B4XPage in B4i

cwt

Active Member
Licensed User
Longtime User
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.

2020-12-10_16-02-30.png


Using B4i v6.80
 
Last edited:

Star-Dust

Expert
Licensed User
Longtime User
Have you selected the B4XPages library?
Or better .. have you unchecked the B4XPages library by mistake?
 
Upvote 0

Star-Dust

Expert
Licensed User
Longtime User
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:
Upvote 0

Star-Dust

Expert
Licensed User
Longtime User
You could overcome the obstacle by adding a custom class in this way

 
Upvote 0
Top