как можно наложить label на picturebox так чтобы потом при сохранении метка не стиралась а стала частью picturebox?
заранее благодарен!
Private Sub Form_Load()
With Picture1
.Picture = LoadPicture("C:\WINDOWS\winnt.bmp")
.AutoSize = True
.AutoRedraw = True
.ForeColor = vbRed
End With
Command1.Caption = "save"
End Sub
Private Sub Picture1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Picture1_Mousemove Button, Shift, X, Y
End Sub
Private Sub Picture1_Mousemove(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = vbLeftButton Then
With Picture1
.Cls
.CurrentX = X
.CurrentY = Y - .TextHeight("TEXT")
End With
Picture1.Print "ТЕКСТ"
End If
End Sub
Private Sub Command1_Click()
SavePicture Picture1.Image, "D:\temp.bmp"
End Sub
Сейчас этот форум просматривают: Google-бот и гости: 148