I don't understand the question well, however in the code you can get the common properties, the basic ones that you set in the Designer, from the Map "Props" and from the Label "lbl" (in DesignerCreateView).
(Useful code)
B4X:
For Each Key As String In Props.Values
Log(Key & TAB & Props.Get(Key))
Next
I wasn't referring to custom properties either.
The only ones you can access from code are the "Common properties"; as mentioned, you can find them in the "Props" Map. Some others are the properties of the "lbl" Label.
Thank you @LucaMs , I tested the code you gave and found that there are too many nests. At present, it is not as convenient as directly setting custom attributes. (It would be nice if Erel had a public way to access it directly one day)
Thank you @LucaMs , I tested the code you gave and found that there are too many nests. At present, it is not as convenient as directly setting custom attributes. (It would be nice if Erel had a public way to access it directly one day)
A useful feature that Erel could implement (with great difficulty), could be:
in the Designer, by menu or, even better, a dialog to be displayed with a simple right-click of the mouse, to be able to create a new custom property; it should then be visible in the Designer and should create the line of code "#DesignerProperty: ..."
A useful feature that Erel could implement (with great difficulty), could be:
in the Designer, by menu or, even better, a dialog to be displayed with a simple right-click of the mouse, to be able to create a new custom property; it should then be visible in the Designer and should create the line of code "#DesignerProperty: ..."