VLViewPort Reference

How to use VLViewPort Control?

See AlsoSee Also Applies To Applies To

VLViewPort control is extremely simple to use. You just need to drop the control on your form and add child controls to it. Whenever the contained controls go beyond the visible bounds of the VLViewPort control, scrollbars will automatically appear and you will have a fully scrollable viewport with mouse wheel support without writing a single line of code !

It provides automatically scrolling support. As the user tabs through the contained controls, if the active control is not in view, the viewport will be automatically scrolled to get the new active control in the view.

Auto filling capability along with the fill margins allow VLViewPort to be used as a scrollable container with minimal amount of coding.

VLViewPort control also provides some useful properties to control the margins around the control etc. These are handy when using VLViewPort on a container like tab control or frame control which have available area less than the area reported by their ScaleWidth and ScaleHeight properties.