Do one or more of the following:
Change the picture that is displayed on the expand control
- Do one of the following:
Select from a list of images included in Microsoft Access
- Double-click the expand control
.
- On the Other tab, in the Src property box, select the
item you want.
Use custom images
To change the picture on a navigation button, you need two picture files
to represent the expanded status and collapsed status of the button.
- Set the name of the file that contains the expanded image to the name of
the file that contains the collapsed image followed by the string
"expanded".
For example, if the collapsed picture file is named folder.gif, name the
expanded picture file folderexpanded.gif.
- Double-click the button whose picture you want to change.
- On the Other tab in the property sheet, in the Src
property box, type the path and name of the collapsed picture file.
At run time, Microsoft Access will automatically show the contents of
the expanded picture file when the group is expanded.
Make a control work like an expand control
- If the control that you want to use as the expand control is not
already on the page, add the control to the page using the toolbox.
- Double-click the control to display its property sheet.
- On the Other tab, in the ClassName property box, append the
existing property value with a space and the string MsoExpandCollapse.
For example, if the property is set to MsoBoundSpan, set it to
MsoBoundSpan MsoExpandCollapse.
Notes
- The control will act as a toggle button but will
not indicate the expanded or collapsed state.
- When using custom expand controls, you might want to provide custom help
or instructions on your page to assist users.