WISH: The Designed convert to code

JohnK

Active Member
Licensed User
Longtime User
I personally tend to code up the build of my activities, but sometimes find working out the correct structure difficult. It would help If I could draw it up within the designer, and then save it off as B4A code. Even if I could save it off in text or xml showing the structure would be helpful.
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Next version will include a new feature named "designer scripts". It actually tries to solve the same problem in an opposite way.

It will allow you to add (simple) code to the layout file. The advantage of this code is that you can immediately see the results in the abstract designer and WYSIWYG designer (emulator / device). You will not need to compile and install the application after each change.

This new feature has two main advantages:
1. It will be much easier and quicker to test the layout on multiple resolutions.
2. Separation between logic code and UI code / design.
 

Watchkido1

Active Member
Licensed User
Longtime User
I could draw it up within the designer, and then save it off as B4A code.

JohnK:" If I could draw it up within the designer, and then save it off as B4A code. "

THAT sounds IDEAL.
 
Last edited:
Top