Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grids and Hiding Columns
Message
De
18/12/1998 09:51:57
 
 
À
18/12/1998 09:41:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00168776
Message ID:
00168841
Vues:
22
>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

You may use MyGrid.RemoveObject("MyColumn") to remove column in run-time.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform