Link to home
Start Free TrialLog in
Avatar of alex_dagger
alex_dagger

asked on

Picture problem

Hi. I'm using a picturebox in my application and print in it. I ralized that if the picturebox was set to
Visible = False the drawing in it desappear. Can I do something to prevent that?

Thanks in advance


alex_dagger
Avatar of alex_dagger
alex_dagger

ASKER

Edited text of question.
Edited text of question.
Belt and braces method is to set the visible property to true during load and then insert code in the paint event such as picture1.visible=true
Or set the Picture1.AutoRedraw = True but that could consume a lot of memory if you use a big picturebox/drawing area.
ASKER CERTIFIED SOLUTION
Avatar of BeauT
BeauT

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial