Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / December 2005

Tip: Looking for answers? Try searching our database.

is it proper to use listView control for this purpose?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Eric Lin - 15 Dec 2005 18:21 GMT
Hi,

I'm working on a Windows application and want to use some visual control
like the one used in Visual Studio IDE, for setting properties in the
Properties Windows.
Can I use the listView control for that purpose?
I tried to use it, configuring on details view and two columns, but couldn't
get that users edit the cells in the second column for entering values.

Could anyone help me with that?
Thanks in advance
Eric
Nicholas Paldino [.NET/C# MVP] - 15 Dec 2005 18:25 GMT
Eric,

   Why not use the PropertyGrid control?

i
> Hi,
>
[quoted text clipped - 9 lines]
> Thanks in advance
> Eric
Eric Lin - 15 Dec 2005 20:40 GMT
thank you, I'll try it.

> Eric,
>
[quoted text clipped - 14 lines]
> > Thanks in advance
> > Eric
Kevin Spencer - 15 Dec 2005 18:38 GMT
Set the LabelEdit property to true.

Signature

HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
You can lead a fish to a bicycle,
but it takes a very long time,
and the bicycle has to *want* to change.

> Hi,
>
[quoted text clipped - 9 lines]
> Thanks in advance
> Eric
Eric Lin - 15 Dec 2005 20:38 GMT
When I do that, the user can edit the text in the cells in the first column,
but not the values in the second column, actually corresponding to subitem
collection items.
I guess I will try the Properties control, but thanks anyway, and if you
know how I can let the user edit the values in the second column as well,
please let me know it.
thanks again
Eric

> Set the LabelEdit property to true.
>
[quoted text clipped - 11 lines]
> > Thanks in advance
> > Eric

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.