Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Moving couple columns in a grid
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00427567
Message ID:
00427619
Vues:
29
>Hi!
>
>>There is something which I find inconvenient about grid.
>>1) How can I insert column in the middle of the grid?
>> I can not find a way except changing columncount and manually bring new column in the middle.
>
> Insert column at the end, and tha change 'ColumnOrder' property of column. 'ColumnOrder' property of column - that is what changed when you move column manually by drag&drop of header.
>
>>2) How can I move several columns from one place to another (change their order)?
>> Seems that I have to do it manually for each column one at the time.
>
> The same - change ColumnOrder properties of columns in loop.

It still the manual process :) Ok, I've just done that.

Now the second question:
How can I make my grid to save user's settings? IOW, in run-time I adjust columns width and columns order for the particular grid (this grid is made as a class, if it does matter). Next time I invoke my form, I want these settings to be in effect.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform