B4J Question Putting parts of a form-rich app into an external library

MegatenFreak

Active Member
Licensed User
Hi.
I'm looking for ways to clean my huge code and boost IDE performance, so I'm putting everything I can into a compiled external library.
I already know I can't do this for modules that view their own forms, as designer forms can't be part of compiled libraries, but my question is this:
Can a class or function that receives a "Form" or node as a parameter and operates on it be placed inside a compiled library?
For example, if I have a class that makes changes to a Form type variable that it's given, can I put into a library (or is it not possible because nodes and forms can't be given to and altered by external libraries?)
Thanks a lot in advance.
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Can a class or function that receives a "Form" or node as a parameter and operates on it be placed inside a compiled library?
Yes.

Note that you can make b4xlib from any module, including modules with layout files. The code isn't really compiled but it will help with organization and will have some effect on the IDE responsiveness.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…