Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid and columns
Message
De
02/12/2004 15:47:10
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
02/12/2004 04:56:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
00966290
Message ID:
00966501
Vues:
14
This message has been marked as the solution to the initial question of the thread.
>In a Grid object I can reference each columns by their idx number, what i was asking to myself is : how can I retrieve this number from a column ?
>I found properties like columnorder but it could change.

You can simply add that... in grid's .init,
for i=1 to this.columncount
   this.columns[i].addproperty("colindex",i)
endfor
Then for any column object you send as a parameter, this column object's index can be retrieved from its .colindex property. I've tried this and I'm seeing the proper values in the debugger.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform