Sure, pleasure...
I've been trying your code, just ran into a hurdle. Thanks a lot for this..
1. I can see the object that I want to call when logging the DesignerCreateView code. My B4J class is called ViewHome.
So I can access the _home object from there, so I tried
Dim sBindStateComponent as string = "home" 'this receivesthe component name which can be dynamic from property bag)
Dim test As VueComponent = BANano.GetP(mCallBack, sBindStateComponent)
This got translated to
// [364] Dim test As VueComponent = BANano.GetP(mCallBack, sBindStateComponent)
_test = _B._mcallback['_' + _b._sbindstatecomponent];
resulting in an error
After I changed the small _b on the debug code, it works.
From
// [364] Dim test As VueComponent = BANano.GetP(mCallBack, sBindStateComponent)
_test=_B._mcallback['_'+_b._sbindstatecomponent];
To
// [364] Dim test As VueComponent = BANano.GetP(mCallBack, sBindStateComponent)
_test=_B._mcallback['_'+_B._sbindstatecomponent];
I saw on the code before where I check if the component is specified that its using a bigger B.
// [354] If sBindStateComponent = {117} Then
if (_B._sbindstatecomponent=="") {
// [355] BANano.Throw( {22} )
throw "The component name should be specified for BindState type 'oncomponent'";
// [356] Return
return;
// [357] End If
}
So it seems this BANano.GetP will be a life saver for me! My. This right here saves the day and a lot of code lines, as soon as the _b (_B) issue is solved.
My.