I added a Button on my form, I want to arrange it's location precisely to the pixel on the form. Does anyone know how I can do that? Thanks in advance.
Jump to Post
Try using the .Top and .Left properties of the control. You can make it relative to the form by using the buttons .Width and .Height members as well as the form's width and height. Although anchoring and docking will keep these ratios even for you.
All 8 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.