Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Naming Columns in a grid control
Message
De
20/02/2003 08:47:50
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00755457
Message ID:
00755459
Vues:
18
This message has been marked as the solution to the initial question of the thread.
>When specifying the number of columns in a grid FoxPro 6 names each of the columns "grid1". How can I change this name... say from the init method of the form?
>
>Thanks!

ie:
with thisform.grid1
 for each oCol in .Columns
   oCol.Name = justext(oCol.ControlSource)
 endfor
endwith
PS: Assumed controlsources were in the form alias.field
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform