event OversizeChanged (Horizontal as Boolean, NewVal as Long)

Occurs when the right range of the scroll has been changed.

 TypeDescription 
   Horizontal as Boolean A boolean expression that indicates whether the horizontal scroll bar has changed.  
   NewVal as Long A long value that indicates the new scroll bar value.  

If the control has no scroll bars the OffsetChanged and OversizeChanged events are not fired. When the scroll bar range is changed the OversizeChanged event is fired. Use the ScrollBars property of the control to determine which scroll bars are visible within the control. The control fires the LayoutChanged event when the user resizes a column, or change its position. Use the ScrollButtonClick event to notify your application that the user clicks a button in the control's scrollbar. Use the ScrolPartCaption property to specify the caption of the scroll's part.


Send comments on this topic.
© 1999-2008 Exontrol Inc, Software. All rights reserved.