• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 592
  • Last Modified:

How to show vertical lines in msflexgrid

i want to show the vertical grid lines only in a msflexgrid how?
0
ackid32
Asked:
ackid32
  • 3
1 Solution
 
mcriderCommented:
Unfortunately, MSFlexGrid does not support this...Either you show the grid lines (both horizontal & vertical) or you don't.  Sorry...


Cheers!

0
 
ackid32Author Commented:
any other way or method?
0
 
mcriderCommented:
About the only thing you can do is use pictureboxes ZORDERED (brought to the front of the MSFlexGrid) to simulate lines.  

Set the backcolor of the picture boxes to the line color you want, set the borderstyle to none, and set the width to whatever width you want for your vertical line.

you can position the picturebox lines by using the "Left" of the FlexGrid + the "ColWidth" of each column.

Unfortunately, you can't draw lines on a flexgrid...


Cheers!
0
 
mcriderCommented:
Thanks for the points! Glad I could help!


Cheers!
0
 
enable99Commented:
It is much better to use Frames rather than Pictureboxes to simulate lines - they are much lighter weight then pictureboxes!
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now