Skip to main content

Results for: control + scroll

Selected page 1

Add a scroll bar (ActiveX control) On the Developer tab, in the Controls group, click Insert, and then under ActiveX Controls, click Scroll Bar. Click the worksheet location where you want the upper-left corner of the scroll bar to appear. To edit the control, make sure that you are in design mode.

The Scroll control pattern is used to support a control that acts as a scrollable container for a collection of child objects. The control is not required to use scroll bars to support the scrolling functionality, although it commonly does. The following image shows a scrolling control that does not use scroll bars.

The control is a rectangle that contains a scroll box and has direction arrows at both ends. The scroll-bar control sends a notification message to its parent whenever the user clicks the mouse in the control. The parent is responsible for updating the scroll-box position.

The user can move the scroll box by clicking on either arrow at the ends of the control, by clicking in the region between the scroll box and either arrow, or by dragging the scroll box. When the user drags the scroll box, the Scroll event displays a message indicating that the user scrolled to obtain the new value.