ComponentOne List 8.0 for ActiveX
AlternatingRowStyle Property

 

True DBList Reference> TDBList Properties> AlternatingRowStyle Property

AlternatingRowStyle Property

Controls whether even/odd row styles are applied to a split.

Syntax

object.AlternatingRowStyle= boolean

Remarks

Read/Write at run time and design time.

Property applies to TDBList and TDBCombo controls, Split object.

This property determines whether a control or split displays odd-numbered rows in one style and even-numbered rows in another.

If True, the OddRowStyle and EvenRowStyle properties control the appearance of rows within the specified object.

If False (the default), the Style property controls the display of rows within the specified object.

At design time, you can change the colors and fonts used to render odd (even) rows by modifying the built-in OddRow (EvenRow) style using the Styles property page.

At run time, you can change the colors and fonts used to render odd (even) rows by modifying the Style object returned by the OddRowStyle (EvenRowStyle) property.

See Also

TDBList and TDBCombo Controls

Split Object, Splits Collection

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback