by Rhythm Shahriar (2 Submissions)
Category: Graphics
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Wed 23rd July 2003
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Printing text in a picture box
'a text box which will be named text1.
'and 2 commondialogbox controller.
'3 command button.
'Place this code in picture1's mousedown procedure
'Place this code in command button 1 named as clear
picture1.cls
End sub
'Place this code in command button 2 named as Shadow color
commondialog1.action = 3
end sub
'Place this code in command button 3 named as fore color
commondialog1.action = 3
end sub