Trying to create a simple B4Xpages UI program in B4J.
Steps...
Create a new project using the b4xpages template.
Open the internal designer and add a pane (panel) as a B4Xview.
Then I add a Canvas as a B4Xview and rename it to a B4XCanvas.
Log messages says not to initialize the Canvas because it was created with the Internal Designer.
If I do the program crashes on this line ... Root.LoadLayout("MainPage")
If I do not create the Canvas with the Designer I can add it in the code and initialize it and the program runs fine.
Is it not possible to add a Canvas as a B4Xcanvas with the Internal Designer in B4J using B4Xpages ?
Thanks!
Steps...
Create a new project using the b4xpages template.
Open the internal designer and add a pane (panel) as a B4Xview.
Then I add a Canvas as a B4Xview and rename it to a B4XCanvas.
Log messages says not to initialize the Canvas because it was created with the Internal Designer.
If I do the program crashes on this line ... Root.LoadLayout("MainPage")
If I do not create the Canvas with the Designer I can add it in the code and initialize it and the program runs fine.
Is it not possible to add a Canvas as a B4Xcanvas with the Internal Designer in B4J using B4Xpages ?
Thanks!