MaximumValue  MaxValDateTime

Chapter 3: Property Descriptions and Usage

MaxPosition

Applies to

HScrollBar, VScrollBar controls

Description

The MaxPosition property specifies what the value of the Position property is when the scroll box is at the bottom of the VScrollBar control or the right edge of the HScrollBar scroll bar.

Usage


In a painter

StepsTo specify the maximum position of the scroll box:

  1. Enter an integer value into the Max Position field of the General tab of the control’s Properties view.


In scripts

The MaxPosition property takes an integer value.

The following example specifies that the value of the Position property is 120 when the scroll box is in the maximum position.

vsb_1.MaxPosition = 120





Copyright © 2004. Sybase Inc. All rights reserved. MaxValDateTime

View this book as PDF