VLViewPort Reference

Introduction

The VLViewPort is an advanced scrollable container. It allows you to specify the extent of your window, on the other hand you can let it adjust viewport extent automatically. If the specified or calculated extent is larger than the actual window size, it automatically provides scrolling support.

It can also automatically scroll the viewport when the focus moves from one contained control to another.

Conventional Viewports change the co-ordinates of the contained controls to achieve scrolling effect, this completely confuses your program, if it uses the contained control positions. VLViewPort control ensures that contained controls report the same location that you had put them in.

Key Features

  • Supports automatic adjustment of viewport extent (at runtime) as new controls are added and contained controls are resized/moved
  • Supports automatic scrolling of viewport as the active control changes
  • No change in position reported by the contained controls.
  • Supports automatic filling of container control, with customizable margins on all sides
  • Supports background bitmap
  • Built-in support for mouse wheel
  • Minimal coding.