Hi. I have a question. I am developing an application and I have to choose
the most suitable control to show records from some database queries, with
freedom in customizing control layout and behavior, leaving data read-only.
Good examples might be: control showing message list in Microsoft Outlook
(or Outlook Express); download-in-progress (or upload-in-progress) control
in Emule client; every common XP-style window showing files and folders in
"details" visualization. Each of them is able to sort data clicking on
column header, with an arrow (or triangle) icon showing the selected column
for sorting.
The right choice seems to be ListView control, but I have some notes against
that:
1) the arrow icon used as sorting indicator. It was difficult to implement
in VBA (I started as a VBA programmer) because I needed Windows API, it
seems quite easy in VB6 (I read the documentation), but what about VB.NET? I
can't found a system for doing that easily with ListView control...
2) the DataGrid control could be better due to its data binding facilities,
but I don't know if I can arrange a DataGrid in a ListView-like fashion, for
example adding the sorting icons (see above). The documentation is not so
clear about that.
Anyone can help me? In choosing the control and/or customizing DataGrid for
the uses I listed.
Thank you in advance.
Edoardo, Italy