Android Question Whether you can get common properties when customizing a control

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: Copy
For Each Key As String In Props.Values
    Log(Key & TAB & Props.Get(Key))
Next
 
Upvote 0
hi @LucaMs, i mean like this picture. not custom properties.
1744450770794.png
 
Upvote 0
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: ..."
 
Upvote 0
Back
Top