Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Prob
Message
From
31/10/1998 11:40:59
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
30/10/1998 23:35:27
Senna Dwipayana
Indo Rebel Apparel Cv
Bandung, Indonesia
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00152395
Message ID:
00153176
Views:
25
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform