jpg files to display on Form

A

Angie M.

I have a series of radio button choices on a form. When the user selects one
of these and the OK button clicked, a particular macro is run. I also want
to have a corresponding jpg image to appear on the right side of the form, to
give the user a visual of the style they are choosing, so they can click
through the radio buttons and see the different choices. What would be the
best approach for this? Thank you for your time.
 
K

Karl E. Peterson

Angie said:
I have a series of radio button choices on a form. When the user
selects one of these and the OK button clicked, a particular macro is
run. I also want to have a corresponding jpg image to appear on the
right side of the form, to give the user a visual of the style they
are choosing, so they can click through the radio buttons and see the
different choices. What would be the best approach for this? Thank
you for your time.

The simplest method would be to have series of stacked Image controls, one
associated with each Option button. As the button is chosen, execute the
ZOrder method of the associated Image control to bring it to front. This
assumes the images are the same size. If not, another approach would be to
cycle all the Image controls, making sure only the associated one is
Visible.
 
A

Angie M.

Thanks Karl, I will give this a try.

Karl E. Peterson said:
The simplest method would be to have series of stacked Image controls, one
associated with each Option button. As the button is chosen, execute the
ZOrder method of the associated Image control to bring it to front. This
assumes the images are the same size. If not, another approach would be to
cycle all the Image controls, making sure only the associated one is
Visible.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top