Hi Nadya,
This is a Sloppy Way To Do It But It will get you by if need be.
In Homesite you can create your own button to write out what pre-configured you like.
At the start of the code you could have it write out:
Public Function Hide()
and at the end:
End Function
This way the code inside your hide function will not be executed unless you call your function.
Just a idea I had when reading your article.
Kind Regards,
Tarran Walker