Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grids
Message
De
15/11/2001 04:20:18
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
14/11/2001 18:52:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Re: Grids
Divers
Thread ID:
00581843
Message ID:
00581934
Vues:
22
>I have a grid that I want to set the columns based off the table fields programmatically. Anyone know how I can do that?
with myGrid
* If you don't want to keep format
 .Recordsource = ''
 .ColumnCount = -1
* If you don't want to keep format
 .RecordSource = 'NewAlias'
 with .columns(1)
   .Name = 'myColumn1'
   .ControlSource = 'NewAlias.FieldName1'
   .Header1.Caption = 'Header'
   .Width = 100
 endwith
*...
endwith
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
Répondre
Fil
Voir

Click here to load this message in the networking platform