FetchDataDescription

Fires when comobox is updating its text or listbox. You can use this event to provide alternate description string for each enum value.

Syntax

object _FetchDataDescription((property As IPropNode, Value As Variant, Description As Variant))

The FetchDataDescription event syntax has the following parts:

Part Description
object An expression evaluating to an object of type PropList.
property PropNode
Value Variant
Description Variant

Example

' This example modifies the descriptions of all boolean properties to German
Private Sub PropList1_FetchDataDescription(ByVal property As DDPropertyListCtl.IPropNode, _
ByVal Value As Variant, Description As Variant)
If property.Type = ddPLBoolean Then
If (Value = True) Then
Description = "Ja"
Else
Description = "Nein"
End If
End If
End Sub