Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Subclassing headers
Message
 
 
À
04/12/1998 03:01:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00163637
Message ID:
00164067
Vues:
26
>>I saw a trick where you can sort a column by clicking on the header. I'd like to use this, but it's too time consuming to add the code to every header. So I thought I'd make a header class. But VFP doesn't like it when I try to do that. Is there a way to subclass the header class?
>>
>>Another issue is putting indexes on every field in every table so it can sort. Is this a good idea? I'm wondering if that would slow things down significantly.
>>
>>Thanks,
>>
>>-Michelle
>
>Hi there, how are you?
>
>Just popping in, and I see you already got plenty of response, but I still thought I might point out my GridBuilder that lets you implement the sorting in 1-2-3 without actually subclassing the headers. Just run the builder on grids you want sort option on and it'll write the necessary code for you (without deleting the existing code, should there be any).
>
>Best

Did you post this gridbuilder or is it something available for download? I apologize if you posted and I forgot. All the responses have gotten mixed up in my mind and I need to read through the thread again.

Thanks,

-Michelle
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform