MaxVerticalScroll Property

Applies to:  SubClasser object, PowerForm control
See also:  MinVerticalScroll property, MaxHorizontalScroll property, VerticalScrollPage property, VerticalScroll Event, Property Index

Determines the maximum vertical scroll bar position for the subclassed window. 

Read/Write at run-time, not available at design-time.

Type:

Long

Remarks:

Setting the MaxVerticalScroll property will add a standard Win32 scroll bar to the subclassed window.  If both the MaxHorizontalScroll and MaxVerticalScroll properties are set to values greater than MinHorizontalScroll and MinVerticalScroll, and the window is resizable, then the window will display one of those little corner bits in addition to both scroll bars. 

The value for MaxVerticalScroll must be greater than the value for MinVerticalScroll.  If you are setting MinVerticalScroll to a non-zero value, then the MaxVerticalScroll property should be set first.

Example:

Standard Scroll Bars

 

 

Home

Copyright and Disclaimer