Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Pro VB 6
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 16th, 2004, 03:54 PM
Authorized User
 
Join Date: Jul 2003
Location: Montreal, , .
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

Reply With Quote
  #2 (permalink)  
Old September 16th, 2004, 08:16 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Alameda, ca, USA.
Posts: 627
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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

Marco
Reply With Quote
  #3 (permalink)  
Old September 17th, 2004, 07:57 AM
Authorized User
 
Join Date: Jul 2003
Location: Montreal, , .
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

Reply With Quote
  #4 (permalink)  
Old September 17th, 2004, 12:33 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Alameda, ca, USA.
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
Reply With Quote
  #5 (permalink)  
Old September 29th, 2004, 02:32 AM
Authorized User
 
Join Date: Sep 2004
Location: Delhi, Delhi, India.
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...;)
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 03:49 PM.


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