Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to create a grid control in Win Mobile 5.0? 1

Status
Not open for further replies.

sjh

Programmer
Oct 29, 2001
263
0
0
US
Hi, I am creating a program for the Windows Mobile 5.0 platform using Visual Studio 2005. It's intended to run on a Pocket PC.

I want to create a grid in my application, but I don't see it in the Visual Studio tool box. There's ListBox and DataGrid, but that's not what I'm looking for. I want a list box with few columns and with column heading.

I apologize if this is a stupid question. It's my first time coding Pocket PC app. Thank you in advance!
 
The control that you are looking for is the ListView.

Set its View property to Details

Use the Collections Editor (...) for the Columns property to set up the Columns that you need.

Items go in the first (leftmost column) and sub items in the remaining columns.


Hope this helps.

[vampire][bat]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top