VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Locate text anywhere on a form - using font /size of your choice. No api's needed.

by Paul (1 Submission)
Category: Custom Controls/Forms/Menus
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Sun 25th June 2000
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Locate text anywhere on a form - using font /size of your choice. No api's needed.

Rate Locate text anywhere on a form - using font /size of your choice. No api's needed.




X = X * Screen.TwipsPerPixelX
Y = Y * Screen.TwipsPerPixelY

Dim p As Long
p = Me.Point(X, Y)
PSet (X, Y), p

End Sub

To use 

Locate 50,50: Print "JARVO.TREK"

or 

Fontsize = 36
FontName = "Arial"
Locate 100,30
Print "Do This and more with Jenk!  - a games designer in a form. visit"
locate 100,50
Print www.geocities.com/finnerp"


Download this snippet    Add to My Saved Code

Locate text anywhere on a form - using font /size of your choice. No api's needed. Comments

No comments have been posted about Locate text anywhere on a form - using font /size of your choice. No api's needed.. Why not be the first to post a comment about Locate text anywhere on a form - using font /size of your choice. No api's needed..

Post your comment

Subject:
Message:
0/1000 characters