Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sorting by clicking on header of browse
Message
From
12/08/1998 12:57:02
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
12/08/1998 12:19:40
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00125966
Message ID:
00126089
Views:
14
>>Is it possible to order the data by clicking on the header of the browse by using ON KEY LABEL or any other method in FOXPRO 2.6
>>
>>Rakesh Kothari
>Place invisible buttons and call a generic routine.
>Cetin
Rakesh,
Sorry, I'm not on the mood today, overlooking question. Invisible buttons would be harder to implement than it sounds.
With an onkey label you could do :
* On key label "F12" do setord with varread()
function setord
parameters currfld
for i=1 to tagcount()
	if tag(i)=upper(currfld)
		set order to tag (tag(i))
		exit
	endif
endfor
if order()<>upper(currfld)
   set order to 0
endif
wait window "Order set to : "+ORDER() NOWAIT
SHOW WINDOW (wontop()) REFRESH
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