Skip to content

Max Property

Description

Gets or sets the maximum value of the range of the ProgressBar.

Property Type

Read-write property

Syntax (Visual Basic)

Public Property Max() As Long

Remarks

The ProgressBar control's Min property is 0 and its Max property is 100 by default, representing the percentage duration of the operation.

This property specifies the upper limit of the Value property. When the value of the Max property is changed, the ProgressBar control is redrawn to reflect the new range of the control. When the value of the Value property is equal to the value of the Max property, the progress bar is completely filled.

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.