Ok I have a Command Button which will move a Frame to the side of the form, so it gets out of the way of the user. I've placed a Command Button in the top right hand corner of the Frame to do this.

Whats the code so that when I have the Frame hidden, I can move the Command Button to the left side of the Frame?

At the moment I'm hiding the Frame by doing,
Frame1.Left = Frame1.Left + Frame1.Width - 200

The 200 is so that there is room for the command button.


Its going to be something really simple, but I just can't figure out what........