I am doing a picture in my project and I want to clear that picture from the picture box without deleting the other drawn picture when a command button is pressed .
any help
teklu 0 Newbie Poster
Recommended Answers
Jump to PostHi,
Just use:
Picture1.Cls
Regards
Veena
Jump to PostHi,
Keep a Dummy Picture Box on the Form Say DPict
use this Code:
DPict.Picture = LoadPicture 'Clear Pict
Picture1.PaintPicture DPict.Image, 2000, 0, 2000, 1000
Picture1.RefreshThis Clears the Picture stored in Area :
2000, 0
And Width=2000, Height 1000
Regards
Veena
All 7 Replies
QVeen72 104 Posting Shark
teklu 0 Newbie Poster
~Paul~ 7 Light Poster
QVeen72 104 Posting Shark
ZahodLakho 0 Newbie Poster
dspnhn 10 Junior Poster in Training
mustaffa hasan 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.