Description
The Icon representing this McDBType in the user interface.
-
Property type
-
A Variant value.
-
Syntax
-
object.Icon([Index], [Format]) [= value]
The Icon Property syntax has these parts: |
| object | An expression evaluating to an object of type McDBType. | | Index | Optional. A mcDBIconType enumeration, as described in settings. Which thumbnail to set or retrieve.
| | Format | Optional. A mcDBDataStyle enumeration, as described in settings. The format the icon is to be retieved in. This parameter is ignored when assigning the value of this property. If an inapplicable value from this enum is passed in, mcdbActualObject is assumed.
| | value | A Variant value. | Settings The settings for Index are:
 | mcdbSmallIcon | 0 | |
 | mcdbLargeIcon | 1 | |
 | mcdbExpandedIcon | 2 | |
 | mcdbSelectedIcon | 3 | |
The settings for Format are:
 | mcdbNoData | 0 | |
 | mcdbDefaultStyle | 1 | |
 | mcdbStringData | 1 |
value as a string
|
 | mcdbStorage | 2 |
returned object implements IStream
|
 | mcdbStream | 3 |
returned object implements IStorage
|
 | mcdbBytes | 4 |
raw byte stream of object
|
 | mcdbProgId | 5 |
the ProgID of the stored object
|
 | mcdbLongData | 6 |
value as a Long (for mcdbEnum attributes only)
|
 | mcdbGlobalID | 7 |
A database-global identifier of the object
|
 | mcdbActualObject | 16 |
An IDispatch to the object, can be Ored with mcdbStorage and mcdbStream
|
Remarks
Icons may be cleared by setting them to an Empty variant.
Exceptions
|