Cableguy Expert Licensed User Longtime User May 3, 2021 #1 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?
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 May 3, 2021 #2 B4X: #DesignerProperty: Key:MaxLenght, Displayname: Max Lenght, Fieldtype: int, Defaultvalue: 10, MinRange: 1, MaxRange: 999, Description: The max lenght of.. Upvote 0
B4X: #DesignerProperty: Key:MaxLenght, Displayname: Max Lenght, Fieldtype: int, Defaultvalue: 10, MinRange: 1, MaxRange: 999, Description: The max lenght of..
DonManfred Expert Licensed User Longtime User May 3, 2021 #3 [B4X] Custom Views with Enhanced Designer Support Custom views are implemented as B4X classes or in a library. A custom view includes a set of properties that can be set from the visual designer. Note that the visual designer will show a box instead of the actual view. Using custom views is very simple. You need to add the class or library to... www.b4x.com Upvote 0
[B4X] Custom Views with Enhanced Designer Support Custom views are implemented as B4X classes or in a library. A custom view includes a set of properties that can be set from the visual designer. Note that the visual designer will show a box instead of the actual view. Using custom views is very simple. You need to add the class or library to... www.b4x.com
Cableguy Expert Licensed User Longtime User May 3, 2021 #4 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
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...
Erel B4X founder Staff member Licensed User Longtime User May 4, 2021 #5 Cableguy said: I need to set common properties like width and height of the base panel... Click to expand... This is currently not possible. Upvote 0
Cableguy said: I need to set common properties like width and height of the base panel... Click to expand... This is currently not possible.