C1Elastic Reference > C1Elastic Properties > FloodStyle Property |
Returns or sets the flood style.
[form!]C1Elastic.FloodStyle[ = FloodStyleSettings ]
The FloodStyle property determines how the flooded part of an Elastic is painted. Valid settings are described below:
Constant |
Value |
Description |
fsSolid |
0 |
Flooded part is filled with the color set by the FloodColor property. |
fsBlocks |
1 |
Flooded part is filled with blocks of the color set by the FloodColor property. (This setting results in an effect similar to the one displayed by the ProgressBar common control that ships with Visual Basic.) |
fsPicture |
2 |
Flooded part is filled with the picture set by the Picture property. The PicturePos property determines whether the picture is clipped, stretched, or tiled to fill the flooded part of the control. |
See the FloodPercent property for details on using the Elastic as a progress indicator.
FloodStyleSettings (Enumeration)