Hey friends,
I found a solution for the problem.
Do not use the 'compile to library ALT+5' Function. I do not now why but if you do you will get all the errors we talk about.
Instead of this create a zip File and rename the .zip extension into b4xlib. Put this file into the additional lib foldeer.
This compressed file may contain:
- the FoldableMenu.bas file
- a manually created manifest.txt file and
- if needed a Files Folder with images or .bal files.
the
manifest.txt is easy to create it contains only:
Version=2.5
version number.
Author=TechDoc G. Becker
version number.
B4J.DependsOn=jXUI, StringUtils
libraries used for B4J.
B4A.DependsOn=XUI, StringUtils
libraries used for B4A.
B4i.DependsOn=iXUI,StringUtils
libraries used for B4i
And to be honest the failure was up to me! The solution is described in the booklet 'b4x help custom views' that I didn't read carfully. Ashes on my head.
Hope with this info to help others not to run into the same trouble.