Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting the default width on all columns in a grid
Message
De
23/08/2005 09:58:52
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01042887
Message ID:
01042896
Vues:
24
Neil
With Thisform.grdMyGrid
  For I = 1 to .ColumnCount
    .Columns( I).Width = 200
  EndFor
EndWith
Of course, you can always set them visually in the form designer.

Your servant

Terry

>I have a grid on a form which is populated by a cursor. Is there anyway that I can set all columns in the grid to a default width? Bare in mind the cursor can be populated by a query on another table which could have more columns.
>
>Many Thanks
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform