Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DeleteColumn method
Message
De
13/11/1997 10:29:05
 
 
À
13/11/1997 10:15:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00059933
Message ID:
00059936
Vues:
32
>Dear All!
>
>You're my last hope...again <g>
>
>when I issue inside of grid's method (doesn't matter what method) the
>following:
>
>lnCurcol = this.ActiveColumn
>this.DeleteColumn(inCurCol)
>
>VFP crashes with infamous "Performed illegal operation". But when I issue
>the same commands from outside of grid, for example from Click event of
>Command button, all goes just fine, the column goes away.
>
>Any thoughts or advises will be greatly appreciated.

I cannot reproduce the problem, however I guess there are alot of workarounds, e.g. you can even move focus out of grid programmatically and fire some form method to delete a column. If for some reason, this will not work either, then eventually you can make Column.Visible=.f. instead of deletion.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform