LucaMs Expert Licensed User Longtime User Aug 11, 2014 #1 By creating a CustomView, within the routine: Code: Public Sub DesignerCreateView (As Base Panel, Lbl As Label, Props As Map) I use: Code: mBase = Base '<--- mBase is a Global variable CallSubDelayed2(Me, "LoadExistingLayout", Base) Then: Code: Public Sub LoadExistingLayout (pnl As Panel) pnl.LoadLayout ("Lay") End Sub How to access the Color of CustomView (Base/mBase)? Do I have to necessarily put the views of "Lay" inside a Panel? What role has the color of Activity of "Lay"? Muchas gracias (just to change )
By creating a CustomView, within the routine: Code: Public Sub DesignerCreateView (As Base Panel, Lbl As Label, Props As Map) I use: Code: mBase = Base '<--- mBase is a Global variable CallSubDelayed2(Me, "LoadExistingLayout", Base) Then: Code: Public Sub LoadExistingLayout (pnl As Panel) pnl.LoadLayout ("Lay") End Sub How to access the Color of CustomView (Base/mBase)? Do I have to necessarily put the views of "Lay" inside a Panel? What role has the color of Activity of "Lay"? Muchas gracias (just to change )
LucaMs Expert Licensed User Longtime User Aug 11, 2014 #2 Neither: I forgot that the Color property of views is always ReadOnly! Upvote 0
LucaMs Expert Licensed User Longtime User Aug 11, 2014 #3 Ok, I need a panel in the loaded layout. Upvote 0