VB.NET School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become a VB.NET Expert!

Join 300,360 VB.NET Programmers for FREE! Get instant access to thousands of VB.NET experts, tutorials, code snippets, and more! There are 1,695 people online right now. Registration is fast and FREE... Join Now!




List View

 

List View

panchal21

2 Jul, 2009 - 08:02 PM
Post #1

New D.I.C Head
*

Joined: 2 Jul, 2009
Posts: 2

[quote] I Want To Take Record From a Listview to TextBox on a Form on DoubleClick Event

User is offlineProfile CardPM
+Quote Post


eker676

RE: List View

2 Jul, 2009 - 08:41 PM
Post #2

C++ Programmer
Group Icon

Joined: 18 Apr, 2009
Posts: 652



Thanked: 68 times
Dream Kudos: 25
My Contributions
So find the double click event for a listbox and then add
CODE
textbox1.Text = Listbox1.Text

User is offlineProfile CardPM
+Quote Post

panchal21

RE: List View

2 Jul, 2009 - 08:45 PM
Post #3

New D.I.C Head
*

Joined: 2 Jul, 2009
Posts: 2

QUOTE(eker676 @ 2 Jul, 2009 - 08:41 PM) *

So find the double click event for a listbox and then add
CODE
textbox1.Text = Listbox1.Text




PLS Note I want it For List View
User is offlineProfile CardPM
+Quote Post

LoveIsNull

RE: List View

2 Jul, 2009 - 08:46 PM
Post #4

Disbanding my Ignorance
****

Joined: 10 Mar, 2009
Posts: 536



Thanked: 45 times
My Contributions
Could you maybe post the code you've already written so we can have a clearer understanding of what you are trying to do?
User is offlineProfile CardPM
+Quote Post

mark.bottomley

RE: List View

3 Jul, 2009 - 06:18 AM
Post #5

D.I.C Addict
****

Joined: 22 Apr, 2009
Posts: 780



Thanked: 127 times
My Contributions
ListView1.SelectedIndices.Item(0) returns the first item from the selected list - If you disable mutli-select, this list will contain0 or 1 items. You can check the length of the list with ListView1.SelectedIndices.Count
User is online!Profile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/7/09 07:51PM

Live VB.NET Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

VB.NET Tutorials

Reference Sheets

VB.NET Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month