C1Elastic Reference > C1Elastic Properties > FloodPercent Property |
Returns or sets the percentage of progress when the control is used as a progress indicator.
[form!]C1Elastic.FloodPercent[ = value As Integer ]
When the Elastic control is used as a progress indicator, the following properties affect its behavior:
Property |
Effect |
FloodPercent |
Sets how much of the control is flooded. |
FloodStyle |
Sets how the flooded part of the control is painted. |
FloodColor |
Sets the color used to flood the control. |
FloodDirection |
Sets the direction of flooding (e.g. fill to the right, fill down) |
Picture |
Sets the picture used to fill the control when FloodStyle is set to 2 - fsPicture. |
PicturePos |
Sets how the picture is adjusted to fill the flooded area when FloodStyle is set to 2 - fsPicture. |
NOTE: If you set FloodPercent to a value smaller than zero or greater than 100, the Elastic will adjust the value to fit within the accepted range and will not trigger any errors.
Integer