Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid class with click header method ordering table
Message
 
À
26/11/1999 14:08:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00288282
Message ID:
00299437
Vues:
29
Hello!
I'm not sure of how a column text name may be referenced. But if it corresponds to an alias or cursor field name, you could loop through the structure. To test for a field name:
? field(1)
HTH
Terry

>>>I am trying to build a grid class where the click method of the header orders the table.
>>>
>>>I got the generic code. My problem is to insert the code in the click method of header when I do not know how many columns the grid has.
>>>
>>>The generic code tests if the column has one index associated.
>>>
>>>I thought to use setall method, but this method is only for properties.
>>>
>>>Any sugestion?
>>
>>i have already designed a grid like that
>>If you want, can send you the code
>>my grid orders columns in descending or ascending mode
>>and search also
>
>Hi Nico, I will be glad if you send me your grid. Thanks
Imagination is more important than knowledge
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform