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 10:13:12
 
 
À
23/08/2005 10:02:31
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
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:
01042907
Vues:
26
>>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
>
>Perhaps Setall() would work in this case?

Hilmar

I thought of SetAll but, as the container is the column, for which you want to set the property, width, how'd you know which column? Does it work with the .Columns collection? I opted to suggest a small for loop for this.

Terry
- 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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform