Like this:
-
As you may have figured out, you need to drag a real HorizontalArrangement and a real TextBox out onto the designer in order to get their anyComponent blocks
-
All your textboxes are coming through with a white background as well
Like this:
As you may have figured out, you need to drag a real HorizontalArrangement and a real TextBox out onto the designer in order to get their anyComponent blocks
All your textboxes are coming through with a white background as well
ahhh, tysm! what if there are different kinds of components and not just a text box?
You would need to test for them as I have shown
ahh alrightt tnx again
Ok, i will check this bug .
After using Remove component, the parent still has a null reference after the deleted children component.
Runtime Error
Attempt to invoke virtual method 'int android.view.ViewGroup.indexOfChild(android.view.View)' on a null object reference
Looks like the Children block picks up some trace of the deleted components.
I have worked around the problem by just hiding the components, but it's cumbersome.
Saw the example further up in the thread about checking component type.
So I tried to get around it by:
Hmm, tried to make a small example of the problem, but was unable to recreate, so I will check a bit more.
What is the difference between this one and the dynamic component extension?
No id is needed.
I see. I would like to create an other extension's component (Andres Cotes WebSocketCl) dynamically. Is it possible? I could not achieve it with the DC extension, neither with this one so far. I guess it only can create AI2 native components, isn't it.
Yes, and only visible components.
Creating extension components dynamically should work as expected, it just doesn't work with by simply entering its name, like "Button", but passing an existing component's block is supported regardless of if it is a native component or not.
Brilliant. I could create it. I tried it before but i tried to create on Screen1 and that did not work. I had to create on an arrangement.
I still have a problem. When I create one at screen init that works. If i delete it and recreate in runtime it does not work. I still did not have time to debug why.
If the above is not about CompCreator, please start a new topic
![]()
Only answered him.
v8.6 update:
Difference between this ListComponents and native every Component:
Could we have some example blocks for the list components function ?
To get all checkbox in the VSA, even if the checkbox is not the son of VSA, but grand grand son
compcreator-listview.aia (60.8 KB)