Hello,
my question is focused on building a desginerable custom control.
I knew that I can set/retrive the Designer "Text Properties" by code using the *Lbl View" of the "Public Sub DesignerCreateView (Base As Object, Lbl As Label, Props As Map)". But I'm missing to do the same with the Background Properties like Drawable/Border a.s.o. because I can not find the belonging Props in the Base Object or the mbase B4XView. I tried mbase.GetView but there is also no access to the Props. By the way I know that I can creat own DesignerProperties by code but I think the requested Props are still there and it will be silly to code them twice.
Question: Does Anyone can tell me how to get and set the Background Properties Values of the mbase View by code? A B4A code snipped would be fine.
Thank You in Advance
Guenter
my question is focused on building a desginerable custom control.
I knew that I can set/retrive the Designer "Text Properties" by code using the *Lbl View" of the "Public Sub DesignerCreateView (Base As Object, Lbl As Label, Props As Map)". But I'm missing to do the same with the Background Properties like Drawable/Border a.s.o. because I can not find the belonging Props in the Base Object or the mbase B4XView. I tried mbase.GetView but there is also no access to the Props. By the way I know that I can creat own DesignerProperties by code but I think the requested Props are still there and it will be silly to code them twice.
Question: Does Anyone can tell me how to get and set the Background Properties Values of the mbase View by code? A B4A code snipped would be fine.
Thank You in Advance
Guenter