@Jeff Tullin , @Beatrix Willius , @Carlo Rubini , @Norman Palardy , @Gavin Smith , @Emile Schwarz , @Tim Streater
Thank you, all, for your help, this is finally solved. I ran everyone’s code and none of it worked, which was discouraging to say the least. So, I started compiling the code in earlier versions of Xojo going back to version 2019 r1.1. Again, no success, none of the code would change the visible property of the copied file. I have been coding this project in Xojo 2019 r3.0 and decided to download 2019 3.1 and give it a try. Voila, the code works as expected!
So, from my testing, the folderItem.visible property cannot be changed in recent Xojo releases. A bug that seems to have been squashed in 2019 r3.1
Thank you for your kind patience with me. I’m a novice coder and have learned great lessons from all of you.
Best regards.
Tony