Name Property (Style)
This property returns the name of a style object.
style.Name
Read-only at run time. Read/Write at design time.
Property applies to Style object.
The Name property is set at design time in the Style Factory property page when a style is first created. Styles cannot be renamed, even at design time.
When a TDBList or TDBCombo control is first created, its Styles collection contains eight built-in styles named Normal, Heading, Footing, Selected, Caption, HighlightRow, EvenRow, and OddRow.
Note: For an independent style object, the Name property always returns an empty string. An independent style object is not a member of the Styles collection, but is a standalone object created in code with a Dim or Set statement using the New keyword.
See Also