O'Reilly logo

F. Scott Barker's Microsoft® Access 2000 Power Programming by F. Scott Barker

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Setting Status Bar Properties at Runtime

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:

1.
Open the WindowsCommonControls form in Design mode.
2.
Click the Code toolbar button on the Form Design toolbar.
3.
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.

Note

Like other collections in Access and other Windows development ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required