Hello,
I created a listview. I want the user to be able to edit the cells of
the listview. I have LableEdit set to true but I can't seem to be able
to select and edit a sell. Activation is set to standard.
I cut and pasted the example in the help files labeld ListView.LableE dit
Property and that doesn't work either!
Any help? Thanks.
Won 4 1874
Remember to BeginEdit for the focused Item
MyListView.Focu sedItem.BeginEd it()
--
OHM ( Terry Burns )
. . . One-Handed-Man . . .
If U Need My Email ,Ask Me
Time flies when you don't know what you're doing
"Won Lee" <no****@nospam. com> wrote in message
news:OL******** ******@TK2MSFTN GP11.phx.gbl... Hello,
I created a listview. I want the user to be able to edit the cells of the listview. I have LableEdit set to true but I can't seem to be able to select and edit a sell. Activation is set to standard.
I cut and pasted the example in the help files labeld ListView.LableE dit Property and that doesn't work either!
Any help? Thanks.
Won
One Handed Man ( OHM - Terry Burns ) wrote: Remember to BeginEdit for the focused Item
MyListView.Focu sedItem.BeginEd it()
I want the user to edit the item - not the subitem - within the
application at runtime. Although I'm not familiar with the BeginEdit
(I'm going to read up on it now) it seems to be something that I would
use if I had the program changing the contents of the item of the ListView.
OK just read up on it. Do I need to put this inside an event handler?
Maybe selectedItems?
yes, normally you would do something like put the code in the Double-Click
event and get the item from the X,Y co-ordinates.
--
OHM ( Terry Burns )
. . . One-Handed-Man . . .
If U Need My Email ,Ask Me
Time flies when you don't know what you're doing
"Won Lee" <no****@nospam. com> wrote in message
news:un******** ******@TK2MSFTN GP09.phx.gbl... One Handed Man ( OHM - Terry Burns ) wrote:
Remember to BeginEdit for the focused Item
MyListView.Focu sedItem.BeginEd it()
I want the user to edit the item - not the subitem - within the application at runtime. Although I'm not familiar with the BeginEdit (I'm going to read up on it now) it seems to be something that I would use if I had the program changing the contents of the item of the
ListView. OK just read up on it. Do I need to put this inside an event handler? Maybe selectedItems?
One Handed Man ( OHM - Terry Burns ) wrote: yes, normally you would do something like put the code in the Double-Click event and get the item from the X,Y co-ordinates.
I put in in the ListView1_Selec tedIndexChanged .
I didn't have to use the x,y co-ordinates as it seems to know which item
is being edited. My only problem is that you have to hold down the
mouse button and press a button before it lets you edit it. I'll
figures something out. Thanks for setting me on the right direction though. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: John Lauwers |
last post by:
I know you can edit the first column of the listview control, is there a way
to edit the second and/or the other columns?
greets John
|
by: Eric Hohnbaum |
last post by:
I am working on a form where the user will do a pretty fair bit of entry
and editing. The look of the sceeen the analyst gave me makes me think
of a list. A ListView is the only list class that I know of that allows
in place editing like a Grid. However, the grid is pretty well suited
for this as well.
Anyone have ideas?
Glorfindel
|
by: MikeY |
last post by:
Hopefully someone can help me on this.
I am using C#, making Windows forms.
I have created a listView with checkbox's. I have enabled the checkboxes
under the properties, and all the data, checkbox's and icons are displayed
as they are meant to be. My problem is this, I am trying to achieve the same
results as I get with CheckListBox(s), where I am able to select
(Check-mark) various checkboxs items and able to alter the data. I do...
|
by: David Anderson |
last post by:
I'm working on a Windows app that has a ListView containing a bunch of items.
When the user clicks on an item, the app displays the item'd details. The
user then has the opportunity to edit these details. The user should click
the Save button after each change, but of course that doesn't always happen.
If the user makes changes and doesn't click Save, the app displays a message
box asking if they'd like to save their changes. This box...
|
by: Raphael |
last post by:
Hi Everyone,
I need some help in Editing and Deleting a record from a
listview.
Example- I have a list view that is populated from an Access Database, I
will like users to click on any record in the listview and be able to delete
or editing record in that list.
Please help
Ralph
| |
by: Chris |
last post by:
Hi all,
I posted the following in microsoft.public.dotnet.framework.windowsforms
but it seems that group has little traffic.
Hi all,
I have a listview box which is populated from methods of objects stored in
a List<T> collection. The
items in this collection are generated from a user filled out form.
The items in the listview have the same index as the ones in List<T>, so I
|
by: The Confessor |
last post by:
I currently have a listbox in my program which I populate with data from
a random access file as follows:
For T = 1 To HighestPointID
FileGet(1, Point(T), T)
ListBox_Point.Items.Add(T & " Lat: " & Point(T).Latitude...)
Next
I end up with data in the following format in each ListBox line.
1 Lat: 42.5003, Long: -70.9249, Ele 161
|
by: a |
last post by:
Hi
I would like to add some additional custom features to the listview, like
cell editing. The created object will be added to the form as part of the
GUI, and it should be able to handle events.
I will create a class which conains the listview. Should I inherit this
class from any existing class? If yes, which class should I inherit from?
Or, should I just inherit my class from listview and add my add my
additional features?
|
by: =?Utf-8?B?UGhpbGlw?= |
last post by:
I am attempting to insert a simple record with LinqDataSource from a
ListView, however I always get a message saying "....LinqDataSource
'dataSource' has no values to insert. Check that the 'values' dictionary
contains values...."
I am using a ListView with a DataSourceID of a LinqDataSource. When a new
row icon is clicked....the ListView properly enters into the
InsertItemTemplate....however when the ImageButton with a CommandName of...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |