Android Question Convert Visual Designer to code

gpa

Member
Licensed User
Longtime User
Hi...

Is there a way to get all the properties etc from Visual Designer as text, so you can convert to code rather than a using a design file? The generate options only seem to create dims and event handlers? I think I am missing something obvious!

Thanks!
 

Eme Fibonacci

Well-Known Member
Licensed User
Longtime User
Please can you tell me more about what you need?

I think did not understand.


(Using the generate option)

Once declared you have access to all properties.

B4X:
'Globals
Dim  Label1 As Label
      
'Sub
Label1.Text="Hello World"
Label1.TextColor=Colors.Blue
 
Upvote 0

gpa

Member
Licensed User
Longtime User
Thanks for the replies. Maybe in the future, it would be handy to extend "generate" to dump all the set properties from the designer? Meantime bal2bil looks very useful! Thanks!
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…