[F/OS] - Dynamic Components Extension (for every component) 2.3.0

@paska_ig
The loop is for each number fromā€¦to or for each item in list?
I suppose the latter one. So item is a member of a list, not a number needed as id. The solution might be

call DynamicComponents1.GetComponent(id=index in list (thing=item, list=the name of your list)).

Itā€™s working just fine, something in your end isnā€™t right

3 Likes

Thank you, it was Important for me to know that this should work!
I will look for my errors or restart the project.

Yes, it works well, but only in the new project, it doesnā€™t work in the old one.
I will create a completely new project.

speed of image sprite still not work

Is that a question? Maybe explain more what you are trying to say.

i was tried it not work

Iā€™m aware of that, looks there is something wrong with Canvasā€™s rendering, because Balls and Image Sprites loses their behavior when added dynamically. Probably thatā€™s related with App Inventor.

just put the image visible to false but not remove

You can use Remove block too. Just type the ID of the component that you want to remove from screen.

I also use the component remove, but it wonā€™t remove.
I am sure the ID is right.
The remove all block is also not working.
However, I am using the old ver.

Did you updated to the last version? Remove block should work correctly.

It is removed already due to it had a strange error.

Thank you for telling me that.

I didnā€™t, can you tell me how to update if I have already used tons of the extension blocks? Thank you.

Just import the new extension without deleting the old one. The builder will show up a message ā€œExtension Upgradedā€ when its done. :slightly_smiling_face:

Oh Thank you so much, I am not familiar with extensions :sweat_smile:

1 Like

Youā€™re welcome :blush:

I tried but with image sprite the remove block doesnt work

It is a marvelous extension. It helps a lot in programming. Thank you!
May I present a problem I face using SetProperty block.

I create a TextBox within a VerticalArrangement.

When I try to set the Text property, I get this Runtime Error.

I suppose the socket name of the property is well set.
The same occurs when I try to access BackgroundColor property.

Exact property names are taken by a small utility I made which lists all properties of a component. See below the blocks as well as the output for TextBox.



I also noticed that no all properties are listed, such as WidthPercent.
I use v. 1.2.1 of DynamicComponents1.
Could you please help by a suggestion?
Thank you.

Hello friend.
I had a similar situation yesterday when I updated the Dynamic component to a new version.
I still did not work with the new features and nothing helped.
BUT I noticed that the new features worked if I was creating a new project.
Today I noticed that my old project also had new features working, so I decided that restarting the browser and computer solved this problem, but Iā€™m just guessing. Try clearing the cache and restarting your browser or computer.

Can you try importing the extension again without deleting the old one? Also if you use on companion, can you reconnect to the companion?