Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - How to detect ItemClick?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to detect ItemClick?

 Post Reply Post Reply
Author
Message
naikosen View Drop Down
Groupie
Groupie
Avatar

Joined: 01 April 2007
Location: United Kingdom
Status: Offline
Points: 23
Post Options Post Options   Thanks (0) Thanks(0)   Quote naikosen Quote  Post ReplyReply Direct Link To This Post Topic: How to detect ItemClick?
    Posted: 15 April 2007 at 8:03pm
In Visual Basic ListView, the ListView_ItemClick(item as ..... , ......., .......) works nicely to detect the ItemClick. So that the clicked item is displayed in the RichTextBox.
 
To make it clear, I want to get the selected item in the report control displayed in the RichTextBox control.
 
How to do that?
Back to Top
cybeh View Drop Down
Groupie
Groupie
Avatar

Joined: 27 December 2005
Location: Malaysia
Status: Offline
Points: 76
Post Options Post Options   Thanks (0) Thanks(0)   Quote cybeh Quote  Post ReplyReply Direct Link To This Post Posted: 19 April 2007 at 8:20pm
Maybe you could use the
wndReportControl_ItemCheck function?
Back to Top
cmm2006 View Drop Down
Senior Member
Senior Member


Joined: 26 September 2006
Status: Offline
Points: 118
Post Options Post Options   Thanks (0) Thanks(0)   Quote cmm2006 Quote  Post ReplyReply Direct Link To This Post Posted: 22 April 2007 at 9:12pm
Private Sub wndview_SelectionChanged()
        If Not wndview.FocusedRow.GroupRow Then
            YourText = wndview.FocusedRow.Record(TextColumnIndex).Value
            msgbox YourText
        End If
end sub
 
Back to Top
naikosen View Drop Down
Groupie
Groupie
Avatar

Joined: 01 April 2007
Location: United Kingdom
Status: Offline
Points: 23
Post Options Post Options   Thanks (0) Thanks(0)   Quote naikosen Quote  Post ReplyReply Direct Link To This Post Posted: 23 April 2007 at 9:03pm
Thank you all very much
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.