MSFlexGrid - how can I format grid lines?
Posted on 2008-10-27
I am developing an application and am using a flexgrid control to display data. This is not bound to data but is being loaded and modified in code.
What I really need is to control how the grid lines apparently look, for example I'd like a thicker horizontal line between each two rows.
I know that the grid lines in the control do not offer this functionality and I've tried simulating the effect by using either a line control or a picture box control and positioning it on top of the grid in the appropriate place.
Unfortunately, it would appear that the grid always appears on top of everything else and so these controls cannot be seen!
How can I take control of the way specific grid lines appear?
What I've done so far is to have some extra rows of small height and with the required background colour but it's hardly satisfactory and requires quite a lot of extra programming to ensure that the mouse clicking on, or the cursor keys moving into, these 'fake' cells are handled.