Group controls to hide

G

Guest

Hi All

I have a frame with three option buttons on a form. I want to display a different set of controls for each option button. Which control should I use to bind the controls in a group, so that i can just set the visible property of the grouping control. I am using Access 2000. I tried using the frame. it works only when i draw option buttons in it. In previous access versions there used to be a Picture Box control, which used to serve the purpose.

Appreciate your help

Shobha
 
B

Byron

Shobha,

I do not know of a control that you can use to group
other controls. The way that I manage this is to use a
Select Case statement and within this I show or hide the
desired controls based on the selection made by the user.
It is even possible to move these same controls around if
necessary using this same method.

I know this takes a lot more coding than the method you
are looking for but at least it works. I'd be interested
if anyone has a better way.

HTH

Byron
-----Original Message-----
Hi All,

I have a frame with three option buttons on a form. I
want to display a different set of controls for each
option button. Which control should I use to bind the
controls in a group, so that i can just set the visible
property of the grouping control. I am using Access 2000.
I tried using the frame. it works only when i draw option
buttons in it. In previous access versions there used to
be a Picture Box control, which used to serve the
purpose.
 
G

Guest

Thanks Byron! I will try that.

I will also appreciate if someone else has a better way.

Shobh

----- Byron wrote: ----

Shobha

I do not know of a control that you can use to group
other controls. The way that I manage this is to use a
Select Case statement and within this I show or hide the
desired controls based on the selection made by the user.
It is even possible to move these same controls around if
necessary using this same method

I know this takes a lot more coding than the method you
are looking for but at least it works. I'd be interested
if anyone has a better way

HT

Byro
-----Original Message----
Hi All
want to display a different set of controls for each
option button. Which control should I use to bind the
controls in a group, so that i can just set the visible
property of the grouping control. I am using Access 2000.
I tried using the frame. it works only when i draw option
buttons in it. In previous access versions there used to
be a Picture Box control, which used to serve the
purpose.
 

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