SIZING TEXT BOXES AT RUNTIME WITH THE SLIDER CONTROL

The Slider control is very useful for tasks that need a visual method for incrementing or decrementing values. On the WindowsCommonControlsSlider form, you can see an example of using the Slider control for controlling the Height and Top properties of two TextBox controls. Figure 14.15 shows the WindowsCommonControls form with the WindowsCommonControlsSlider form as the subform. These forms are in the Chap14.mdb database, which is on the accompanying CD-ROM in the \Examples\Chap14 folder.

Figure 14.15. The Slider control is useful for controlling the size and location of controls.

Listing 14.7 ...

Get F. Scott Barker's Microsoft® Access 2000 Power Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.