Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SetCaption method to grid
Message
De
24/02/2000 14:56:07
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00337003
Message ID:
00337008
Vues:
23
>Hi everybody,
>
>I want to add method to my grid class, which allows me to change captions in all columns of the grid to be proper of the original content, i.g.
>Before
>stnum| street |stnumext
>After
>Stnum|Street|Stnumext
>
>The problem is that I don't know all my collumns names and headers names. What is the easiest way to achieve this functionality?

for i = 1 to thisform.grid1.columncount
thisform.grid1.columns(i).header1.caption = 'test'
endfor

Mark
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform