>I'm new to VFP and need help in selecting the right control for a simple list.
>
>I want a list on a form, the elements of the list are records of a cursor, I want 4-5 columns, headers on the columns and be able to sort the list ascending or descending by clicking on any header. Like the right pane of the explorer.
>
>The listbox is fine to get 1 line = 1 record, but I dont see how to have multiple columns and headers.
>
>The grid is fine, I get the headers, but I get cells rather than lines.
>
>Is there is a control builtin VFP5 or do I have to master an ActiveX for my first serious form.
>
>TIA
You can use a grid. See file #
9970 to how make it sortable and and faq #8092 to how make it look like a listbox.
--sb--