Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SetCaption method to grid
Message
De
24/02/2000 16:25:00
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00337003
Message ID:
00337113
Vues:
16
>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?

Why don't you simply spin through the Columns collection? Each column should have a control derived from the Header class, by default named "Header1", usually as the 1st control in the Column's COntrol array.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform