Constant center point?

vis781

Well-known member
Joined
Aug 30, 2005
Messages
2,016
Location
Cambridge, UK
Programming Experience
5-10
Constant center point? [Resolved]

Hi again everyone, Got this little poser.. And frankly it's probably my fault because i'm terrible at maths!!

I have moved the centerpoint on my elliptical user control to a position just under the top left corner, However at design time and my control is resized the center point is all over the place. I have tried many variations such as

Me.width - Me.width +10

and so on and so forth but i'm of the opinion now that i need some kind of math function to do this properly.
Can anyone point me in the right direction please?
 
Last edited:
I am a kinda confused... may I know whether your problem is to constantly load/open your form at a fixed place... or putting a control inside the form at a fixed place?

Have you tried Me.Left and Me.Top instead?
 

Latest posts

Back
Top