Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grids and Hiding Columns
Message
From
18/12/1998 10:07:28
 
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00168776
Message ID:
00168848
Views:
28
>Yes, I have tried using the Visible property, sorry that I omitted to mention that. Just to give you an idea of what I want to do.
>
>Allow the grid to appear as if it has "fixed" columns. The natural (and easiest) solution was to hide the column, but that didn't work. Then I tried using the column width. This will effectively hide the column, however the column lines are still shown (in a faint grey colour based upon my colour scheme). I have managed to give the effect of scrolling, but the vertical column line seem to "pile" up giving a thicker and thicker line everytime the user scrolls right. This is acceptable for a couple of columns, but if the user has to click 10 times to see all of the columns in the grid, the vertical line has, by that point, become as thick as 1.0cm - 1.5cm.
>Of course when the user scroll left the columns will return to their original sizes and the vertical grid line will thin out.
>
>Try as I may, I don't seem to be able to use the native VFP grid to resolve this.
>
>If you could recommend any 3rd-party grids which has this functionality built in or could help further I would greately appreciate it.
>
>For your interest, I am using VFP 6.0a and have 3 years experience in developing VFP apps.
>
>Once again thanks for taking the time to answer me.
>
>Clinton

I don't know about any 3rd party graphs. I did read somewhere (I think it was in the Hacker's Guide) that the only thing worse than a VFP grid was anything else.

Visible and column widths are all I can think of. Maybe setting the column order to -1, but I don't know if it would let you do that. Hmmm... You could always build the grid programatically. When you want to hide the column, rebuild the grid without that column.

-Michelle
Previous
Reply
Map
View

Click here to load this message in the networking platform