Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21846

Form Objects Position Top Left

$
0
0
Hi everyone,

I was wondering if there is any tool in VB6 itself or a third-party-tool
that can allow me to get the position of objects that I move in my form.
I do this manually but is taking me for ever to get the position of objects.

For example, this is a check mark that will be print out in a picture box,
Then will be saved to a folder, to get the position where the check mark is,
took me a long time to get the CurrentX and CurrentY.

Code:

Picture1.AutoRedraw = True
Picture1.ForeColor = vbRed
Picture1.Font.Name = "Wingdings"
Picture1.Font.Size = 16
Picture1.Font.Bold = True
Picture1.CurrentX = 900
Picture1.CurrentY = 1560
Picture1.Print "ü"

I made a CrossHair tool to see if I could use it to track fast the location
where I want the dots and check marks to be print on, but didn't worked.
Any suggestion and help will be much appreciate.
Thanks in advance

Viewing all articles
Browse latest Browse all 21846

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>