|
Post by tsh73 on Aug 14, 2022 8:39:26 GMT
davidk64, if you wonder why your closeAny sub does not work from the button that's because it gets handle of a button
#secondWnd.button , not handle of a window
#secondWnd
We can fix that in code
sub closeAny handle$ 'print handle$ handle$ = word$(handle$,1, ".") 'print handle$ close #handle$ end sub
|
|