Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Pro VB 6
|
Pro VB 6 For advanced Visual Basic coders working in version 6 (not .NET). Beginning-level questions will be redirected to other forums, including Beginning VB 6.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 16th, 2004, 03:54 PM
Authorized User
 
Join Date: Jul 2003
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts
Default Edit text in ListView control

Hi everybody.

Do you know how to let edit labels in the first column of ListView Control?

Thanks

 
Old September 16th, 2004, 08:16 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 627
Thanks: 0
Thanked 0 Times in 0 Posts
Default

set the property LabelEdit = True (actually that is that default...)

Marco
 
Old September 17th, 2004, 07:57 AM
Authorized User
 
Join Date: Jul 2003
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks, this is what I was expecting to get. But for some reason it doesn't work. Is it double click what triggers editing mode? Please, tell me.

Pavel

 
Old September 17th, 2004, 12:33 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 627
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Form MSDN:

Label editing of an object is initiated when a selected object is clicked (if the LabelEdit property is set to Automatic). That is, the first click on an object will select it; a second (single) click on the object will initiate the label editing operation.

I have never seen it failing... unless the list view is disabled.

Marco
 
Old September 29th, 2004, 02:32 AM
Authorized User
 
Join Date: Sep 2004
Posts: 55
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Lalit_Pratihari
Default

Hi,

Yes Macro is correct. Even I have never seen it failing.


Lalit
Life Means More...;)





Similar Threads
Thread Thread Starter Forum Replies Last Post
About Listview control yuetqu BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 1 August 15th, 2006 04:56 AM
ListView Control / Text Field Error ExDb VB Databases Basics 2 January 22nd, 2006 08:50 AM
Aligning Text in a Listview Control? xgbnow VB How-To 1 September 30th, 2004 06:37 AM
listview control jakeone Beginning VB 6 1 March 9th, 2004 08:29 AM
Use a combo box to edit data in a listview goody_tim VB How-To 0 July 2nd, 2003 06:23 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.