Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Contains the top coordinate of the form that is visible in the viewport. Read-only at design time and run time.
Object.ViewPortTop
Remarks
The viewport is the rectangular area of a form displayed in the form's container. The form container controls the size of the viewport. If you change the size of a form's container, the viewport also changes size.
The unit of measurement for the top coordinate of the form is determined by the form's ScaleMode property setting – pixels (the default) or foxels.
See Also
ScaleMode Property | SetViewPort Method | ViewPortHeight Property | ViewPortLeft Property | ViewPortWidth Property
Applies To: Form Object