471,337 Members | 843 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,337 software developers and data experts.

is it proper to use listView control for this purpose?

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
Dec 15 '05 #1
4 1421
Eric,

Why not use the PropertyGrid control?

i
"Eric Lin" <Er*****@discussions.microsoft.com> wrote in message
news:5C**********************************@microsof t.com...
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

Dec 15 '05 #2
Set the LabelEdit property to true.

--
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.

"Eric Lin" <Er*****@discussions.microsoft.com> wrote in message
news:5C**********************************@microsof t.com...
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

Dec 15 '05 #3
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

"Kevin Spencer" wrote:
Set the LabelEdit property to true.

--
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.

"Eric Lin" <Er*****@discussions.microsoft.com> wrote in message
news:5C**********************************@microsof t.com...
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


Dec 15 '05 #4
thank you, I'll try it.

"Nicholas Paldino [.NET/C# MVP]" wrote:
Eric,

Why not use the PropertyGrid control?

i
"Eric Lin" <Er*****@discussions.microsoft.com> wrote in message
news:5C**********************************@microsof t.com...
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


Dec 15 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by jomargon | last post: by
reply views Thread by Martin Streller | last post: by
9 posts views Thread by Kevin Westhead | last post: by
7 posts views Thread by BobAchgill | last post: by
1 post views Thread by --== Alain ==-- | last post: by
reply views Thread by =?Utf-8?B?SWdvcg==?= | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.