Purpose
The style of the Grid.
Class
Type
Access / Assign
Data Type
Integer
Description
Several styles are supported that are specified in the following table:
Style |
Appearance |
Flat |
Width |
Height |
InnerSpace (Left/Top/Right/Bottom) |
OuterSpace (Left/Top/Right/Bottom) |
||||
BGRID_NONE |
The grid does not have horizontal and vertical lines. |
TRUE |
0 |
0 |
2 / 1 / 2 / 1 |
0 / 0 / 0 / 0 |
||||
BGRID_OUTLINE |
TRUE |
1 |
1 |
2 / 1 / 2 / 1 |
-1 / -1 / 0 / 0 |
|||||
BGRID_OUTLINEHORIZONTAL |
TRUE |
0 |
1 |
2 / 1 / 2 / 1 |
0 / -1 / 0 / 0 |
|||||
BGRID_OUTLINEVERTICAL |
TRUE |
1 |
0 |
2 / 1 / 2 / 1 |
-1 / 0 / 0 / 0 |
|||||
BGRID_CONVEX |
FALSE |
2 |
2 |
1 / 0 / 1 / 0 |
0 / 0 / 0 / 0 |
|||||
BGRID_CONVEXSMOOTH |
FALSE |
1 |
1 |
2 / 0 / 2 / 0 |
0 / 0 / 0 / 0 |
|||||
BGRID_AUTO |
The appearance of the Grid depends on the context in that the grid is used.
Note:
|
TRUE |
0 |
0 |
2 / 2 / 2 / 2 |
0 / 0 / 0 / 0 |
In the case of an assignment of one of the constants specified above, automatically the thickness of the grid lines is calculated by the method bGrid:CalculateSize() and the properties for bGrid:Flat and bGrid:Overlapped is set.
bBrowser and BGRID_AUTO
The bBrowser represents the style BGRID_AUTO differently. The graphic representation is dependent for which area the Grid is defined and whether the Visual Styles are supported. The table below lists the different areas and the graphic representation:
Area |
Grid Style |
Representation |
Representation
(Windows XP) |
Representation
(Windows Vista) |
Title |
BGRID_CONVEX |
|||
Column Caption |
BGRID_CONVEX |
|||
Column Footer |
BGRID_CONVEX |
|||
Selector |
BGRID_CONVEX |
|||
Grid in Data Area |
BGRID_OUTLINE |
|||
Info |
BGRID_NONE |
|
|
|
See Also
Page url: http://www.YOURSERVER.com/index.html?bgrid_style.htm