Public Sub DesignerCreateView (Base As Panel, Lbl As Label, Props As Map)
mBase = Base
' The solution is to use CallSubDelayed.
CallSubDelayed2(Me, "AfterLoadLayout", Props)
End Sub
Sub AfterLoadLayout(Props As Map)
mBase.LoadLayout("mylayout")
End Sub