ComponentOne VSView 8.0
VirtualWidth Property

Returns or sets the width of the scrollable area, in twips.

Syntax

[form!]VSViewPort.VirtualWidth[ = value As Double ]

Remarks

The VirtualWidth and VirtualHeight properties determine the size of the virtual area that may contain controls and be scrolled into view. The VirtualLeft and VirtualTop properties determine what portion of the virtual area is currently visible. See the VirtualLeft property for a diagram that illustrates the relationship between these properties.

If the VirtualWidth or VirtualHeight are set to values smaller than the control dimensions, the control will not display scrollbars along that dimension.

To set this property automatically, based on the control contents, use the SetVirtualExtent method.

Data Type

Double

Default Value

1000

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback