?
Solved

[VB6.0/SP5] How can i prevend the user edit the row data of listview?

Posted on 2003-03-26
2
Medium Priority
?
278 Views
Last Modified: 2008-02-26
Hi,
    I set the property LabelEdit 'lvwManual'. But after i click the row of listview twice, i can edit the first col data of the row. How can i stop the edit action.  i can't set the property Enable 'False', for i'd like the use edit the listview by the popup menu. when the use right click the listview, a menu popup.
   
    Regargs,

     -- lr
0
Comment
Question by:LuRen
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 3

Accepted Solution

by:
DocM earned 80 total points
ID: 8209191

Set Cancel to True in this event:
Private Sub ListView1_BeforeLabelEdit(Cancel As Integer)
 Cancel = True
End Sub
0
 
LVL 1

Author Comment

by:LuRen
ID: 8214918
DocM
   Thank you. It is just the answer.

  -- lr
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question