Bogemic Software        Bogemic Software RSS  Subscribe: RSS       Products  |  Purchase  |  Support  |  Contact      
Products
  Bogemic Apps
  Bogemic Docs
  Bogemic Studio
  Bogemic Grid
  Services
Order Now
Ordering Process
Documentation
Press Releases
Reseller
Feedback Form
Technical Support
Contact

Customizing Headers and Content

« Back Forward »

Properties: TopHeaderVisible, TopHeaderHeight, LeftHeaderVisible, LeftHeaderWidth, HeaderLinesColor, HeaderForeColor, HeaderBackColor, SelectedColor, ActiveCellColor, InactiveCellColor, ShowGridLine

Changing the visibility and sizing of headers

Change the visibility of the grid top and left headers:

grid.TopHeaderVisible = false
grid.LeftHeaderVisible = false


Change the size of the grid top and left headers:

grid.TopHeaderHeight = 15
grid.LeftHeaderWidth = 15

Setting the background color and text color of headers

Set the background color of headers:

grid.HeaderBackColor = RGB(0,255,0)

Set the text color of headers:

grid.HeaderForeColor = RGB(0,0,255)

Setting the line color

Set the line color of headers:

grid.HeaderLinesColor = RGB(0,0,0)

Setting the selection color

Customize the color of selection:

grid.SelectedColor = RGB(248,222,132)

Setting the border color of the active cell

Customize the border color of the active cell:

grid.ActiveCellColor = RGB(242,67,133)

Customize the border color of the active cell when the grid has lost focus:

grid.InactiveCellColor = RGB(0,0,0)

Changing the visibility of grid lines

We can control the visibility of grid lines:

grid.ShowGridLine = false

« Back Up Forward »