VB How-ToAsk your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the VB How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
In VB.Net, how can you display an image in a label? The image will change each time the user selects a radio button. There are 8 different radio buttons.
I have never done anything like this before and my knowledge of this particular issue is a little fuzzy, but picture box seems to be the specialized control for this. Nevertheless, if you wish to use a label (and indeed I could be wrong about the picture box) the propety you want is image.
Depends on what you need to do. The label and image controls are much lighter, and use much less resources. The picture box can be used as a container, you can use it with any graphics methods, and it can be aligned.
Marco