Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Properties
Message
De
28/04/2004 13:57:59
 
 
À
28/04/2004 13:35:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00899043
Message ID:
00899048
Vues:
14

have not tried this yet, as I would like some feedback before I do so.
I want to create a new property on my base grid class called nColumn.
In this property, I would like it to contain the value from:

This.Columns[This.ActiveColumn].ColumnOrder

Can I set up this property so that it will always contain the value of this??

Any suggestions on how to do this are greatly appreciated.

Thanks,

Mike


Michael, on VFP the ActiveColumn is the order of the Active Column, not the index.

Then:
This.ActiveColumn = This.Columns[This.ActiveColumnIndex].ColumnOrder
You must implement ActiveColumnIndex property, and this is not a simple or efficient task.
- on the ActiveColumnIndex.Access you can search the column with ColumnOrder=This.ActiveColumn

Another problem:
BeforeRowColChange and AfterRowColChange parameters is nColOrder, NOT nColIndex !

Then you cannot do this with a Assign into AfterRowColChange.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform