This property sets whether or not previously loaded images are cleared when an image is loaded into the Thumbnail Control.
[C++Builder] thumbcontrolname->ClearOnLoad
[ = bool ]
[Delphi] thumbcontrolname.ClearOnLoad
[ = Boolean ]
Property Value
Value | Explanation |
---|---|
True | When an image is loaded, the previously loaded image is cleared (default) |
False | When an image is loaded, the previously loaded image is not cleared |
Explanation
The ClearOnLoad property sets whether or not previously loaded images are cleared when an image is loaded into the Thumbnail Control. True is the default value. When False, the image loaded is added to the previously loaded images. A good example of when to use this property is when using an ADF to continuously scan images or when retrieving multiple images, one by one, from a datasource.
Setting this value
This value can be set at design-time and run-time.
Retrieving this value
This value can be retrieved at run-time.