Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to sort grid box record when clicking the header?
Message
De
05/02/1999 18:30:47
 
 
À
05/02/1999 00:58:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00184218
Message ID:
00184590
Vues:
19
>Hello,
> I use the Visual Foxpro 3 to 6.
> How to code the grid box, so that when I click one of the column header, the records will be sorted base on that column?
> My friends suggest me to build index for each column on the cursor. Is it the only way? If the grid box have 12 column, will I build 12 index?
> Can I code this function on grid level rather than cursor level?
>Thanks. :D
>-Jasper

Hi Jasper,
An approach I use is to only add the index tag if necessary when the user clicks on the heading. Mostly the user only clicks on one or two in any one session so it saves a bit of time. I could send some code example if you wish.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform