• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 159
  • Last Modified:

How to put text in a Picturebox?

I have a textBox i want to put text in a PictureBox.
I'd like something like PaintPicture, but PaintPicture works only for the Picture; and i want to be able to place it anywhere in the PictureBox.
0
dosyl
Asked:
dosyl
  • 2
1 Solution
 
mcriderCommented:
Set the CurrentX and CurrentY of the picturebox and then use Print... For example:

Picture1.CurrentX=200
Picture1.CurrentY=200
Picture1.Print "Hello World"


Cheers!
0
 
dosylAuthor Commented:
It was too much easy, i didn't think it; thank you very much.
0
 
mcriderCommented:
Thanks for the points! Glad I could help!


Cheers!
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now