how to perform click on listview?
when button is click listview will perform a click on first record of a listview
Shodow
3
Junior Poster
Recommended Answers
Jump to PostIf you define ListView1 in details view with one column, and one button named Button1 then run this
Public Class Form1 Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load ListView1.Items.Add(New ListViewItem({"the"})) ListView1.Items.Add(New ListViewItem({"quick"})) ListView1.Items.Add(New ListViewItem({"brown"})) ListView1.Items.Add(New ListViewItem({"fox"})) End Sub Private Sub Button1_Click(sender As System.Object, e …
All 2 Replies
Reverend Jim
4,780
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.