ComponentOne List 8.0 for ActiveX
BorderType Property (TDBCombo)

 

TDBCombo Reference> TDBCombo Control Properties> BorderType Property (TDBCombo)

BorderType Property (TDBCombo)

Determines the type of border.

Syntax

object.BorderType= value

Remarks

Read/Write at run time and design time.

Property applies to Style object for TDBList and TDBCombo.

Values

Design Time

Run Time

0 - None (default)

dblBorderNone

1 - Left

dblBorderLeft

2 - Right

dblBorderRight

4 - Top

dblBorderTop

8 - Bottom

dblBorderBottom

When this property is set to 0 - None, no Borders will be displayed for a cell..

When this property is set to 1 – Left paints the border on the left.

When this property is set to 2 – Right paints the right cell border.

When this property is set to 4 – Top paints the top  cell border.

When this property is set to 8 – Bottom paints the bottom cell border.

This property can be set to any combination of the above options.  For example, to have a cell border on all sides of a cell you can set the BorderType property to dbgBorderLeft+dbgBorderRight+dbgBorderTop+dbgBorderBottom.

See Also

Style Object, Styles Collection

 

 


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

Product Support Forum  |  Documentation Feedback