how can I position a form to the top right of the screen, independent of the screen resolution??
And keep in count the form width ?
Thanks.
Printable View
how can I position a form to the top right of the screen, independent of the screen resolution??
And keep in count the form width ?
Thanks.
Me.Top = 0
Me.Left = Screen.Width - Me.Width
Here's another version of the code above, just sharin' :rolleyes:.
Code:Me.Move Screen.Width - Me.Width, 0
thanks a lot for the answers. I had already tried this by my own, but it wasn't working because right before I had changed my screen resolution. If you then try to use this code, it is not working.
I had to restart my pc before it was working.
bye