Appearance example for Visual Basic

This example toggles the Appearance property.

If Lead1.Appearance = APPEARANCE_FLAT Then
   Lead1.Appearance = APPEARANCE_THREED
Else
   Lead1.Appearance = APPEARANCE_FLAT
End If