The fourth and fifth panels of the StatusBar control located on the WindowsCommonControls form are set at runtime by the UpdateStatusBarControl subroutine, found in the General Routines in the form module.
To open the module to the subroutine desired, follow these steps:
Open the WindowsCommonControls form in Design mode.
Click the Code toolbar button on the Form Design toolbar.
Choose the UpdateStatusBarRoutine from the Procedure combo box.
The routine in Listing 14.13 performs two actions. It sets the picture property of the fourth panel to the selected tab picture, and displays (in the fifth panel) the caption of the chosen tab.
Like other collections in Access and other Windows development ...