Android Question CAN B4I IDE Change layout.bal to json format?

xiaoyao

Active Member
Licensed User
Longtime User
DOes DESIGNER LAYOUT CAN USE 100%,30%?
like 3 buttons in Panel1
set Panel1 size=100%
button1 left=5%
button1,button2,button3 with=25%
button2.left=5%
5%+button1 25%+5% +button2 25%+5% button3 25%+ 5%
how to set by DESIGNER tools?


how to open?layout.bal
i want to create a layout by vb6.exe or python

and i create a bas file to auto set controls size,like:
dim appwidth as long
button1.left=appwidth*0.05 (5%)
button1.width=appwidth*25%
 

xiaoyao

Active Member
Licensed User
Longtime User
I hope to have a real visual form designer, such as real CHECKBOX, or LISTVIEW, I can add 5 items to it, and the effect will be displayed immediately. Maybe B4A LAYOUT can't do it.I want to try to use VB6 to develop a form designer, so that the interface design effect can reach 80% similarity, support 100% width of the control, the control is displayed at the lowest part of the interface, and an image can be displayed immediately.
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
i want to create a layout by vb6.exe or python
Sounds like you want to waste a lot of time because you don't understand how the designer works.

DOes DESIGNER LAYOUT CAN USE 100%,30%?
Yes, with the designer script.

It is possible to convert the layout to json (use the search feature and you will find it), though trying to create the layout with another tool will not lead to anything useful.
 
Upvote 0

xiaoyao

Active Member
Licensed User
Longtime User
LIKE USE PYTHON,HOW TO DISIGN a form like vb6? without use code

or i use a tool to disign a app window view,3 buttons in Panel1
i wan't to change 4 buttons,it will auto do it ,with out write vb6 code
 
Upvote 0

aeric

Expert
Licensed User
Longtime User
In B4A IDE, you write B4X, not VB6.

Learn how to use Visual Designer


Use Designer Scripts like
B4X:
button1.Width = 25%x
button2.Width = 25%x
button3.Width = 25%x
button4.Width = 25%x
button1.Left = 0
button2.Left = button1.Right
button3.Left = button2.Right
button4.Left = button3.Right
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…