Retrieves the property's display value. The value is displayed by the properties
browser.
Type | Description | |||
String | A string expression that indicates the item's caption. |
The control uses the DisplayValue property to display the property's value into the browser. To get the value of the property you should use the Value property. If the Category property is True, the DisplayValue gets the category name. For instance, a property of Color type, has the DisplayValue like &H80000005&, since the property's value is 0x80000005. A property of boolean type has DisplayValue like "True" or "False". The following sample shows how to print the property''s display value when selection is changing:
Private Sub PropertiesList1_SelChange() Debug.Print PropertiesList1.SelectedProperty.DisplayValue End Sub