Convert Views in Designer to Code

pixelpop

Active Member
Licensed User
Longtime User
If this is available in 2.20, please point me in the right direction and accept my apologies for asking...but...could a option be added to Tools in Designer to convert a layout of views in Designer to the equivalent "create" code in the IDE? It would be a big plus if the option existed to create the views in code as absolute position and size or position relative to other views in the layout. Thanks!
 

Harris

Expert
Licensed User
Longtime User
I "think" what he is asking is to:

a) Create a new layout in the designer (320x480)
b) Then under Tools / Generate Members - a NEW menu item "Generate Designer Scripts"
c) This new option would write the code without having the developer to write each line based on known values in the .bal

Thanks
 

pixelpop

Active Member
Licensed User
Longtime User
I don't think (?) views can be created in Designer scripts. I was thinking more along the lines of this--if I add a button in Designer, the new option would put the equivalent "AddView" in the IDE (probably in the Activity_Create sub) and any code that defined the appearance of that view (text, text size, colors, etc.).
 
Top