Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How does ReadExpression work?
Message
De
22/10/2001 07:23:55
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
21/10/2001 13:42:03
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00570921
Message ID:
00571581
Vues:
31
>From what I have understood, Hilmar is trying to insert a column in the grid. He can insert it at the end, and set its .ColumnOrder to 1. Here's from Help:
>"If a Grid contains five columns and you want the third column displayed last, set the ColumnOrder property of the third column to 5. The ColumnOrder setting for the fourth column becomes 3, the ColumnOrder setting for the fifth column becomes 4, and so on.
>
>Note ColumnOrder settings do not have to be sequential. There can be gaps. For example, if a Grid contains three columns, you can add a fourth and set its ColumnOrder property to 10."

Yes, I want to insert a column, or delete a column. However, I did not wish to change .ColumnOrder, since I had trouble with this in the past. It was in VFP 3, though, and I don't remember the exact symptoms. I think the columns didn't always respect the column order.

Also, when deleting a column, my problem wouldn't be completely solved with .ColumnOrder.

I know there are workarounds (I will try GetPEM() immediately), but I was just wondering why ReadExpression() doesn't seem to work as advertised.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform