myWindow(1).Caption = myBMP(1).Filename
Can just read but not try out yet.
Just one thing: old vb6-controls (and windows) also had an Index so if we have let's say a few windows of the same type that show a bitmap where we draw unto then it was possible to give them all the same name only they had different indexes so these windows can share the same subs or functions. For the event-subs it's easy the user just might use one of the 4 user-values attached to every UI-"object", but if you think about setting properties:
Text1(1).Text = "Hello"
Text1(2).Text = "world!"
it would be worth to think about to add an index-property to all UI-things that have a name also
Bookmarks