Forum Home Forum Home > RobotStudio > Developer Tools
  New Posts New Posts
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

listview checked handle

 Post Reply Post Reply
Author
Message
  Topic Search Topic Search  Topic Options Topic Options
RouxAxium View Drop Down
Groupie
Groupie


Joined: 2009-November-17
Online Status: Offline
Posts: 11
  Quote RouxAxium Quote  Post ReplyReply Direct Link To This Post Topic: listview checked handle
    Posted: 2010-July-28 at 21:01
Hi, I made a function that work with the listview 2.0 net.  I would like to know how i can do the same thing with the SDK flexpendant Listview?

   Private Sub ListView1_ItemCheck(ByVal sender As Object, ByVal e As System.Windows.Forms.ItemCheckEventArgs) Handles ListView1.ItemCheck
        Dim i = 0
        If e.NewValue = CheckState.Checked Then
            i = 1
            StringTxt.FillFromString(ListView1.Items(e.Index).Text)
            sFrmHMI_PatternName.Value = StringTxt
        Else

        End If
        If i = 0 Then
            StringTxt.FillFromString(" ")
            sFrmHMI_PatternName.Value = StringTxt
        End If
        Me.Invoke(New EventHandler(AddressOf LoadEnableI), New Object() {sender, e})
    End Sub

Best Regards,

Martin
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Bulletin Board Software by Web Wiz Forums® version 9.53
Copyright ©2001-2008 Web Wiz