Link to home
Start Free TrialLog in
Avatar of JoeBo747
JoeBo747

asked on

Hide background Image

Hi Experts,

I have an option group with a background image, how do I hide the image if option 1 is selected and show the image if option 2 is selected?

Thanks again,
Joe
SOLUTION
Avatar of EDDYKT
EDDYKT
Flag of Canada image

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
Avatar of JoeBo747
JoeBo747

ASKER

Hi EDDYKT,

Thanks for your response, the image is a background image on the groupbox control and does not expose a visible property!

Me.GroupBox1.BackgroundImage.visible

I have tried dispose but this throws an error. The image is in the project resources folder.

Thanks again,
Joe
SOLUTION
Avatar of Bob Learned
Bob Learned
Flag of United States of America image

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
ASKER CERTIFIED SOLUTION
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
Hi  CuSo4, TheLearnedOne, EDDYKT,

All three of you have supplied helpful input, thank you; I have added extra points to try and reflect this and split them between you.

Thanks again,
Joe