ComponentOne List 8.0 for ActiveX
Modifying the Cell Border Appearance

By using combinations of the expanded Style object properties, BorderAppearance, BorderColor, BorderSize and BorderStyle, you can easily give the list cell borders a unique, professional appearance. All of the properties are available for both the TDBList and TDBCombo objects at run-time and design time.

Example Title
Copy Code
Private Sub Command1_Click()

    With TDBList1.Columns(0).Style

        .BorderAppearance = dbl3DRaised

        .BorderType = dblBorderTop Or dblBorderLeft

        .BorderColor = vbRed

        .BorderSize = 5

    End With

End Sub
See Also

 

 


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

Product Support Forum  |  Documentation Feedback