------------------------------------------------------------------------
 Tree Without Grid Lines Sample for iGrid ActiveX
 
 Control Version: 5.0
 Environment: Visual Basic 6

 Copyright (c) 10Tec Company. All rights reserved.
------------------------------------------------------------------------

Description
===========
iGrid allows you to create a grid with a tree column inside, and sometimes grid lines are not needed inside the tree to have a cleaner interface. This example demonstrates how to achieve this with iGrid.

Short Code Explanation
======================
All work is done in the AfterCellContentsDraw event. We redefine it to hide the horizontal grid lines in the tree column.

This event is raised after the cell contents (including the grid lines) have been drawn, and we simply fill the horizontal grid line area in the required cells with the grids background color to hide the unneeded grid lines.

Change List
===========
2011-12-19
----------
1. In the original version the last horizontal grid line in the tree column disappeared when you collapsed nodes. This is fixed by comparing lRow with iGrid1.Sys(igSysRowsLastVisRow) instead of iGrid1.RowCount in the AfterCellContentsDraw event handler.
