Form re-use

Oxygene

New Member
Licensed User
Hello,

Another basic question from a newbie .......

Is it possible to re-use a form from another B4ppc program ? for exemple a cut-and-paste from a program to another.

I write the design of my forms on my device outdoor and the code on my desktop computer by home because is easier. So i would like to get the new form that i've wrote and paste it in the main program on my desktop.

Thanks for help ( and trying to decode my english)

O
 

klaus

Expert
Licensed User
Longtime User
Two suggestions:
1) Share the whole source code on both desktop and device, so you can do whatever you want design the form layout on the device and code on the desktop or any other combination. Look here for the best way to share the code between desktop and device. http://www.b4x.com/forum/code-samples-tips/38-best-folder-your-source-code.html

2) Design your form in a module, copy this module to your code and add it. Then when you display the form in the deesktop IDE you can move the form to any other module. This is a good possibility to copy forms. http://www.b4x.com/forum/questions-help-needed/5044-duplicating-forms.html

Best regards.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…