Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sorting by clicking on header of browse
Message
De
12/08/1998 12:57:02
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
12/08/1998 12:19:40
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00125966
Message ID:
00126089
Vues:
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
Ç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