Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid weirdness
Message
De
04/12/2001 18:33:39
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Grid weirdness
Divers
Thread ID:
00589570
Message ID:
00589570
Vues:
52
Hi All,

OK I have a grid that displays through various cursors the info from the same table. When the users change from one cursor to the other, I need column widths to change as well. I cobbled together the following code:

with thisform.grdInven
for i = 1 to .columncount && number of columns in cursor
.columns(i).width = len(.columns(i).header1.caption)
endfor
endwith

The problem I have is that when I return the column width, it is in units much smaller than what I am used to working with. Does anyone know of a conversion I can slip into the code?

Thanks,
Winn Pauley
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform