Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sorting a field in the browse window.
Message
From
14/12/1998 10:26:03
 
 
To
14/12/1998 10:21:18
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00167178
Message ID:
00167180
Views:
24
>Hi!
>Can I sort the browse window by double clicking the field header at the top. Like windows explorer does.
>
>I notice even in foxpro you cannot sort on the browse.
>You would think you would be able to.??
>
>
>Now I use something like.
> BROWSE TITLE 'Test' ;
> NORMAL ;
> LAST ;
> NOEDIT ;
> NODELETE ;
> NOAPPEND ;
> REST
>To browse which works is there an option I can add.
>
>I know I could make a form to use instead of the browse window
>but I am asking generally.
>
>If I type browse from the command windows can I not sort on a column
>by double clicking????
>
>
>Thanks

Firstly, you should use grid instead of browse. Using grid you will have Grid.Column.Header.Dblclick event to put your code (actually SET ORDER TO ...) to accomplish what you expect to get. Working from Command Window, you can alwaus fire SET ORDER from there.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform