Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sort Grid Columns?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00000436
Message ID:
00002937
Vues:
52
>I've tried creating a grid class with 5 columns.
>
>But when I try to decrease the column count to 4
>when creating a
>form using this grid object, I get the error
>message "Member COLUMN4 is a class member".
>
>So I'm curious as to whether you are actually able
>to decrease
>the column count when creating a form, and how you
>are able to
>do this.
AH!! ran into the same problem before I started using Maxtech's
framework. Basically it has a field for grdbase (the subclassed Grid class) that is called ncolumns. set to 10, but when you set it to 5, then in the init code of the grdbase at instantiation time, it will just do grdbase.columncount=ncolumns. The only thing i don't like is that while working with the form, i see all ten columns all the time, even though i know it'll be reduced to 5.

learned a heck of a lot from using MaxTech's free framework... lots of documentation and notes on the classes... you should download it and try it out... compuserve has it in VFOX. Perhaps I'll ask Drew if he'll upload it to here...

Jim.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform