NicoVB Posted June 16, 2002 Posted June 16, 2002 How can you receive the client Left coordinate and Top Coordinate from a form??? Quote Visit http://www.nico.gotdns.com Now ONLINE!
Anis Posted June 16, 2002 Posted June 16, 2002 form.left form.top Have you tried this? Quote Regards, Anis Miles to go Before I Sleep.
NicoVB Posted June 16, 2002 Author Posted June 16, 2002 Yes, but that's with border included. There is an object ClientSize that gives the Size without borders, but can't find Left and Top in that Client version Quote Visit http://www.nico.gotdns.com Now ONLINE!
*Gurus* divil Posted June 16, 2002 *Gurus* Posted June 16, 2002 You could translate (0,0) on your form to screen coordinates using the PointToScreen function, and then compare those with the .Left and .Top properties to get what you're after. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
NicoVB Posted June 16, 2002 Author Posted June 16, 2002 Thanks !!!! Quote Visit http://www.nico.gotdns.com Now ONLINE!
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.