Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Prob
Message
De
31/10/1998 11:40:59
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
30/10/1998 23:35:27
Senna Dwipayana
Indo Rebel Apparel Cv
Bandung, Indonésie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00152395
Message ID:
00153176
Vues:
24
>Cetin,
>Actually I made 3 column of a grid and if I click the header, the record order will change (header1 order by date, header2 order by payee, header3 order by style)
Senna,
I would nearly say just like Justok. Besides that I have header class that has little coding ( this might be complex at the beginning but suits well to your case ):
* Custom header.click
if !empty(this.tag)
   set order to tag (this.tag)
   this.parent.parent.refresh
endif
Related tagnames are stored in header tag in grid.init where default header is replaced with custom header.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform