Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sorting by clicking on header of browse
Message
From
13/08/1998 08:55:08
 
 
To
12/08/1998 12:57:02
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00125966
Message ID:
00126441
Views:
13
>>>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


Thanks for the reply. You have save lot of our time and its simple to use for the Enduser.

Rakesh Kothari
Previous
Reply
Map
View

Click here to load this message in the networking platform