B4J Question Custom View Common Properties.... How to set default values ?

Cableguy

Expert
Licensed User
Longtime User
Hi guys....

Its been a while since I did a custom view, and I am trying a (very) complex one...
I would like that when showing the custom view in the visual designer, for it to have default values for common properties ( as oposed to the custom properties)
How can this be achieved?
 

behnam_tr

Active Member
Licensed User
Longtime User
B4X:
#DesignerProperty: Key:MaxLenght, Displayname: Max Lenght, Fieldtype: int, Defaultvalue: 10, MinRange: 1, MaxRange: 999, Description: The max lenght of..
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
 
Upvote 0

Cableguy

Expert
Licensed User
Longtime User
Thanks @DonManfred but those are Custom properties....
I need to set common properties like width and height of the base panel...
The custom view I am creating will have a fixed 700x180 size... and I would like to have the base panel in the désigner to reflect that sizing without me forgeting to set it...
 
Upvote 0
Top