How do I clear an HSA ? (aia file attached)

Thanks to all the help :smiley: that I have found here.

This is about creating a Image Gallery, Dynamic Components and ClickTools.

When the Button is pressed, the list, HorizontalScrollArrangement is loaded with the files from the Directory.

The next time when another path is specified, Error occurs.

I want to know how to unregister the components and clear the HorizontalScrollArrangement?


Gallery2.aia (178 KB)

Welcome!

Which error exactly?
Taifun

The Error is resolved and let me take this opportunity to thank you for the Extension provided by you.

Trim function eliminates the error, as App Inventor raises error, if space is found in the path.

Modified Block image.

Gallery2 (1).aia (178.4 KB)

Here, I have come across some examples which I have shared with my students for Educational purpose, thanks to those generous providers of .aia files... This keeps them occupied in the ongoing Summer Vacations...

Radioweb, BMI, Newspaper, Calories, Video Player, Jukebox, My_Mp3_Player etc. Some aia, I have modified and provided them to the students...

Thanks again :pray: :pray: